[JBoss-user] [EJB/JBoss] - Re: NotContextException when looking up an EJB

2006-04-04 Thread mugwump
ok, then try cleaning your classpath: Although this is quite a while ago, that 
was due to the fact that I had the wrong set of jars on my clients classpath. 
Try to remove everything and then add only the necessary jars - this solved at 
least my problem. 

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934717#3934717

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934717


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Embeddable Container and Spring?!

2006-04-04 Thread mugwump
Has anyone tried to use the embedabble container together with spring?! Eg- use 
the spring-integration, that comes with spring-deployer also in a 
Standalone-Environment? We would like to the ejb3 to the application-context, 
making it possible to lookup ejb3 from spring and inject them. Configuring the 
microcontainer from spring would also be nice. 

The SpringIntegration would be a nice starting point for this, but the 
distribution only contains .class - is that open source, or is there at least a 
possibility to look into that code?

Cheers
stefan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934595#3934595

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934595


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: org.jboss.axis.AxisFault: The prefix

2006-03-28 Thread mugwump
Hi Kyle, 

wow, this is terribly long ago. Yes, we did find a solution, but I do not 
remember exactly what we did: However, the error-message was more than 
misleading, the error had nothing to do with the namespace-declararation. I 
vaguely remember that I still had a soap-encoded parameter in my wsdl. If you 
have migrated your wsdl from an rpc to a document\literal service, you may have 
a similar problem. 

Hope this helps (at least a bit..)

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933271#3933271

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933271


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Exception with INOUT-Mode in a document\literal-Webservi

2005-12-21 Thread mugwump
ok, sorry guys: The problem had another root in an exception that was catched 
but not rethrown - the method therefore returned NULL instead of an initialised 
SOAP-Element, which resulted in the above strange exception. My fault and the 
fault of the misleading exception...

cheers
stf



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913760#3913760

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913760


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Exception with INOUT-Mode in a document\literal-Webservice

2005-12-21 Thread mugwump
I'm getting a strange exception when I try to return a SOAPElement in a 
document\literal webservice: 


  | 11:00:52,564 INFO  [AxisServlet] java.lang.IllegalArgumentException: 
Illegal argument passed to ParameterDesc.setJavaType.  The java type 
javax.xml.soap.SOAPElement does not match the mode inout
  | 

We are using the wscompile with the nodatabinding-option, so the signature of 
the generated port-implementation looks like this: 


  | public SOAPElement signup(SOAPElement orderElement) throws RemoteException;
  | 

The Webservice runs flawless, as long as we don't return anything (public void  
signup(SOAPElement orderElement) ) - we only get the exception when we switch 
to inout. 

Here is the relevant part of the wsdl: 

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"; 
/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

I found an entry in jira that looks vaguely related: 
http://jira.jboss.com/jira/browse/JBWS-381

but I'm still wondering about the consequences: Does this mean we won't be able 
to use document\literal on return-types before 4.0.4 is out?

Cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913744#3913744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913744


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-14 Thread mugwump
Solved this one: SOAPkit from Soapical 
(http://soapical.sourceforge.net/soapkit/) has some very nice utilities, that 
allow you to go from SOAPElement -> String and vice-versa. Converting the 
SOAPElement to String and then parsing it with XMLBeans now gives me 
validated&correctly mapped XMLBeans. 

I think I'm done now, so thx to everybody who helped me out!

cheers
stf


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912645#3912645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912645


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-14 Thread mugwump
Ok, I investigated this case a little further: This does not look like its a 
problem of JBoss - I tried to generate my Client with Axis - the Axis-Client 
works. It shows some warnings about "Ignoring invalid namespace mapping: 
[prefix=,uri=]", that come from the empty namespaces for elements (e.g. ) that 
axis generates - but the rest looks ok. 

The Call gets validated against the XSD *before* it arrives in the 
Port-Implementation, which is fine. Now I have my SOAPElement in 


  | public void signup(SOAPElement orderElement) throws RemoteException {
  | ...
  | }
  | 

And now I'm looking for a clean and simple way to get to the raw XML from the 
SOAPElement to parse it back into an XMLBean. I'm surely overlooking something 
very obvious, but I don't find a simple .getXML() on the SOAPElement... 

Cheers
stf


PS: I'm still trying to find out, why the wscompile generates a broken client: 
Using Axis as a Client works, but I'm currently using the generated stubs and I 
have found no equivalent to the nodatabinding-Option, which gives me the 
signup(SOAPElement element)-Method on the Client... 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912613#3912613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912613


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - org.jboss.axis.AxisFault: The prefix

2005-12-12 Thread mugwump
I'm using a document\literal ws that is generated via wscompile from a given 
wsdl with the option nodatabinding (as I want to do my mapping via xmlbeans). 
I'm getting correctly deployable ports, with the only complain  on deploy 
being: 


  | 16:13:44,610 WARN  [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: 
{http://signup.ull.tiscali.netpioneer.de/types}ullOrder
  | 16:13:44,611 WARN  [TypeMappingDescription] Class not found: 
javax.xml.soap.ullOrder
  | 16:13:44,614 INFO  [AxisService] WSDD published to: 
/opt/java/jboss-4.0.3-all/server/default/data/wsdl/ullworkflowsystem.ear/workflowsystem-web-0.1.war/SignupService.wsdd
  | 

which I suppose is ok: The signature on the Enpoint-Implementations give me the 
raw  SOAPElements and I want to do my de-serialization manually. 

However, when I try to access the webservice, I'm getting: 


  | javax.xml.soap.SOAPException: org.jboss.axis.AxisFault: The prefix "xmlns" 
cannot be bound to any namespace explicitly; neither can the namespace for 
"xmlns" be bound to any prefix explicitly.
  | at org.jboss.axis.MessagePart.getEnvelope(MessagePart.java:1107)
  | at 
org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:59)
  | at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 
  | 

tcpmon shows the following for the envelope: 


  | http://schemas.xmlsoap.org/soap/envelope/"; 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  | xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; 
  | xmlns:ns0="http://signup.ull.tiscali.netpioneer.de/types";>
  | 

which looks ok to me. The payload also looks ok, and I have comfirmed, that I 
can use XMLBeans to de-serialize the soap-body again. 

I'm puzzled, and don't have the slightest idea anymore, what is going wrong 
here - has anybody seen a similar error before???! 

Thx for any help
stefan 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912129#3912129

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912129


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-12 Thread mugwump
I tried that, but - at least in this case - it makes no difference on the 
generated webservice-call. And I'm still getting the very same AxisFault about 
a xmlns in the envelope. Strangely enough, the header looks fine: 


  | http://schemas.xmlsoap.org/soap/envelope/";
  |  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  |  
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; 
  |  
xmlns:ns0="http://signup.ull.tiscali.netpioneer.de/types";>
  | 

I will repost this in another thread, maybe someone else has already seen this 
- but many thx for the help anyway!

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912123#3912123

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912123


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-12 Thread mugwump
ok, this is starting to look like work:) - Do you have by any chance seen this 
error: 


  | javax.xml.soap.SOAPException: org.jboss.axis.AxisFault: The prefix "xmlns" 
cannot be bound to any namespace explicitly; neither can the namespace for 
"xmlns" be bound to any prefix explicitly.
  | at org.jboss.axis.MessagePart.getEnvelope(MessagePart.java:1107)
  |...
  | 

What bothers me, is the fact, that jboss complains about the envelope. The 
SOAPElement itself seems to be ok, as I can still parse it with XMLBeans, even 
after the createSOAPElement. I'm using: 


  | SignupPort signupPort = (SignupPort)signupPort_Stub;
  | File orderXML = new File("src/test/resources/order.xml");
  | UllOrderDocument orderDocument = UllOrderDocument.Factory.parse(orderXML);
  | 
  | Element el = ((Document)orderDocument.getDomNode()).getDocumentElement();
  | SOAPElement element = createSOAPElement(el, SOAPFactory.newInstance(), 
false);
  | 

to get from my XML to a SOAPElement and finally send it away using: 

  | signupPort.signup(element);
  | 

Has anybody seen this error?!

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912085#3912085

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912085


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-12 Thread mugwump
Hi Ole, 
could you please elaborate a little bit more (maybe with an abbreviated 
code-example) on:

anonymous wrote :  
  | create outgoing SOAPElements using XmlObject.newDomNode() which you then 
convert to a SOAPElement (you can also use getDomNode() but you will have to do 
namespace attribute stuff yourself) 
  | anonymous wrote : 
  |   | 
  |   | I'm currently struggling with finding the right combination of 
SOAPElementFactory, getDomNode() etc without hitting upon 
NullPointerExceptions... 
  |   | 
  |   | thx!
  |   | stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912039#3912039

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912039


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-06 Thread mugwump
Hi Anil, 

thx, I looked at it, but I don't think it's an imporvement over XMLBeans, due 
to several reasons - please correct me, if I've gotten something wrong: 

- there is no xsd->java compile, that generates the Holder-Objects for a given 
schema. Instead I have to write the objects, that I want to map my xml into by 
hand. 

- Implementation details about the used mapping are leaking into the XSD ( in 
form of xsd:annotation) This is fine, as it reduces the number of files needed 
for configuration, but which is bad, if you want to use your xsd as contracts 
for your external clients (as is the case with using the xsd inside the wsdl) - 
I certainly do not want to change my wsdl, when I decide upon a different 
mapping-strategy. 

- I haven't found anything to validate an incoming XML against the xsd - did I 
miss the corresponding api-calls?

- I still have to use document/literal with nodatabinding and 
deserialize/serialize my SOAPElements by hand: Or is there a simple 
configuration-mechanism to use JBossXB for serialiazation/deserialization? I 
have to do this by hand with XMLBeans too, but something similar to the 
typeMapping in Axis' WSDD would be nice... 

Do you know by any chance, if these requirements have found their way into the 
new JBossWS?

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910858#3910858

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910858


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-05 Thread mugwump
Got it!

I found this funny little note: 
http://archives.java.sun.com/cgi-bin/wa?A2=ind0308&L=jaxrpc-interest&F=&S=&P=2115

and then found, that *not* this is the root of all evil: 

  | 
  | 
  | 
  | 

but this: 

  | 
  |   
  | 
  | 

The note says: anonymous wrote : "For a document/literal operation, the part 
should refer a schema element using the 'element' attribute."

therefore, the request was right all the time, but the reponse was formulated 
wrongly for a document/literal. Changing the reponse to something like: 


  | 
  |
  | 
  | 

fixes this. Now the Port-Classes and _Impl are generated with the correct 
Signature for an anbounded, document/literal service: 


  | public javax.xml.soap.SOAPElement signup(javax.xml.soap.SOAPElement 
request) throws 
  |  java.rmi.RemoteException {
  | 
  | javax.xml.soap.SOAPElement _retVal = null;
  | return _retVal;
  | }
  | 

and I can hopefully start pluggin in my XMLBeans-Code... 

Sorry for starting so much confusion and many thx for the help, Ole   - without 
the hint to use wsi I would still be debugging my XSD's...

Cheers
stf


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910645#3910645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910645


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-05 Thread mugwump
Yes, sure, here is a shortened example: I have left omitted lots of the element 
definitions, as they are basically all the same:  


  | 
  | http://www.w3.org/2001/XMLSchema"; 
  |
targetNamespace="http://specification.ullorder.de.netpioneer.com/types"; 
  |
xmlns:ullorder="http://specification.ullorder.de.netpioneer.com/types"; >
  |
  | 
  | 
  | Schema for External Signup
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  
  | 
  | 
  | 
  |
  |  
  |  
  | 
  | 


  | 
  | http://specification.ullorder.de.netpioneer.com"; 
  | xmlns:tns="http://specification.ullorder.de.netpioneer.com";
  | xmlns="http://schemas.xmlsoap.org/wsdl/";
  | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
  | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  | xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
  | xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xmlns:orderTypes 
="http://specification.ullorder.de.netpioneer.com/types";
  | >
  | 
  | 
  | http://specification.ullorder.de.netpioneer.com/types";>
  | http://specification.ullorder.de.netpioneer.com/types";
  | 
schemaLocation="http://localhost:8080/workflowsystem-web-0.1/types/ullOrder.xsd"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"; />
  | 
  | 
  | http://specification.ullorder.de.netpioneer.com/operations/signup"; 
/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Does this help to see the error?!

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910628#3910628

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910628


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-05 Thread mugwump
ok, wsi was a good tip: At least I am now getting some serious error messages 
to work with, like: 


  | [wscompile] warning: ignoring operation "signup": message part does not 
refer to a schema element declaration
  | [wscompile] warning: Port "tns:SignupPort" does not contain any usable 
operations
  | 

And the error seems to be between somewhere between the porttype and the 
binding-definition: 


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"; />
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

The Messages (OrderRequest, OrderResponse) only contain simple references to 
elements defined in the external xsd: 


  | 
  | 
  | 
  | 

There has to be an obvious error in this, but I seem to be to blind to see 
it

Many thx for the help!
stf


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910611#3910611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910611


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-01 Thread mugwump
Hi Ole, 

maybe you have encountered similar problems and can help: I ran upon some 
problems with  wscompile when using complex types: 

 I import the schema-file using: 


  | xmlns:orderTypes="urn-my-namespace/types"
  | 
  | 
  | 
  | 
  | http://localhost:8080/order/types/order.xsd"/>
  | 
  | 
  | 

and then construct a message using:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

The wscompile works, but if generates a signup with an empty signature: 


  | public interface SignupPort extends java.rmi.Remote {
  | public javax.xml.soap.SOAPElement signup() throws
  |  java.rmi.RemoteException;
  | }
  | 

At least, I would have assumed a SOAPElement in the signature - at least, 
that's what is generated for a simple type like xs:string (but only if I use a 
type in the part, not an element...)

Maybe you have a quick idea, what's going wrong here?! 

Thx for the help!!
Cheers
stf


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910072#3910072

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910072


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-12-01 Thread mugwump
Hi Ole, 

thats good news, that really sounds not so hard to do. I will try this right 
now, thx for the help. 

cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909963#3909963

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909963


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Example for using XMLBeans for DataBinding?!

2005-11-29 Thread mugwump
Does someone know a decent example how to configure a webservice in Jboss to 
use XMLBeans for Databinding? I'm not sure where to look at first, I found some 
examples for configuring Axis to use XMLBeans, but I don't know exactly how 
axis is tweaked to fit into jboss. Any pointers would be highly appreciated!!

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909552#3909552

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909552


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ws4ee missing?!

2005-10-28 Thread mugwump
I don't know, and I can't reconstruct it: As there is obviously no easy way to 
install ws4ee if it is not installed by the installer, I saved all 
configurations reinstalled jboss. We now have a script that restores our 
jboss-configuration -  the ws4ee that is installed in the all-profile runs 
flawless. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904183#3904183

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904183


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - ws4ee-Distribution?!

2005-10-25 Thread mugwump
Following up on my deployment troubles with webservices, I found the final 
reason to be, that ws4ee is not installed with the ejb3-profille of the 
jboss4.0.3-installer. 

As we have already started to change the server (added new Classes, changed 
configurations etc.), is there a possibility to deploy the ws4ee afterwards?! I 
didn't find any separate distributions for ws4ee. Can I simply deploy the 
ws4ee.sar that comes with jboss4.0.3 in an existing jboss-installation? 
Anything else I need to copy/deploy?! 

There is no possibility to install missing/uninstall unneeded Features via the 
graphical installer, or did I only miss that option?!

Cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903210#3903210

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903210


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ws4ee missing?!

2005-10-24 Thread mugwump
Root of this problem is, that the ws4ee.sar is not properly deployed, because 
of: 

16:55:02,288 WARN  [ServiceController] Problem starting service 
jboss.ws4ee:service=JAFConfigService
java.lang.NoClassDefFoundError: javax/activation/CommandMap

I checked default/server/lib, but there is an activation.jar... Any Ideas, why 
the .sar complains?!

cheers
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903034#3903034

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903034


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ws4ee missing?!

2005-10-24 Thread mugwump
ok, i found the jboss-ws4ee.sar in a jboss-4.0.2: After Deploying this .sar, I 
get numerours exceptions from the web-app containing the webservices, Starting 
with a java.lang.NoClassDefFoundError: 
org/jboss/webservice/metadata/HandlerMetaData

and ending with: 

--- MBeans waiting for other MBeans ---
ObjectName: jboss.ws4ee:service=JAFConfigService
  State: FAILED
  Reason: java.lang.NoClassDefFoundError: javax/activation/CommandMap

Should simply deploying jboss-ws4ee.sar work or are there serious things 
missing to simnply copy this over to my jboss-4.0.3?!

cheers
stf





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903032#3903032

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903032


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - ws4ee missing?!

2005-10-24 Thread mugwump
I recently installled jboss4.0.3 with the ejb3-profile: I'm now trying to 
deploy a webservice (in a .war), but the webservices.xml is completely ignored 
and nothing is deployed (and no exceptions are thrown, it simply happens 
nothing)

There is also nothing under http://localhost:8080/ws4ee/services - so I started 
looking for the ws4ee-deployer, but there is no deployment unit in my 
server/default/deploy. Do I need ws4ee there, and if I need it, where can I get 
it?!

thx for any help
stf

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903021#3903021

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903021


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS-1.0EA released

2005-10-19 Thread mugwump
Yes, but thats what I wanted to know: The example under 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878875 

explains how to check out&build jboss-5.0.0alpha - but will there be a version 
for 4.0.3+ in any foreseeable future? Maybe as part of one of EJB3-RC?

I'm not sure, if I want to build and run 5.0alpha, just to get the 
ejb3-webservice-tags: But I assume that throwing out axis and rebuildiung 
JBossWS and the ejb3-deployer are (as yet?!) unconnected projects?!

cheers
stf


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901972#3901972

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901972


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS-1.0EA released

2005-10-18 Thread mugwump
Are there plans to make a standalone-version of JBossWS available that can be 
deployed into 4.0.3 along with the ejb3-deployer?! 

I checked out jboss-head in cvs, but this seems to be empty: Moreover, I do not 
want to dump my existing 4.0.3 just for testing the new annotated webservices. 
What is the status of working JBossWS into the ejb3-deployer (that's where it 
belongs anyway...) or make a standalone-distribution avaliable?

Can hardly wait for it - now that ejb3 has made our lives so much easier, it's 
very hard to imagine to use the old-skool version of webservices instead of a 
simple @WebService...

Thx for any help, 
stf 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901682#3901682

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901682


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - NotContextException when looking up an EJB

2004-03-31 Thread mugwump
Hi,

i have a very strange Exception when i try to: 

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "localhost:1099");
env.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
InitialContext lContext = new InitialContext(env);

projectHome = (ProjectSessionHome)ctx.lookup(ProjectSessionHome.JNDI_NAME);

This code bangs with a:  
javax.naming.NotContextException
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:597)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at 
de.dkfz.ibios.ome.tests.ProjectsTest.testProjectSessionLookup(ProjectsTest.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(Unknown Source)

Process terminated with exit code -1

Has anybody seen this error before?! The code has been working formerly but I cannot 
reconstruct what exactly I have changed (The latest I can remember is changing the 
Classpath to include some new Classes)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828302#3828302

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828302


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Datasource Configuration] - ClassCastException when trying to deploy hibernate.sar

2004-03-02 Thread mugwump
I'm struggling with a strange problem, that occurs when i try to deploy hibernate as a 
.sar (as outlined in http://www.hibernate.org/66.html). 

I'm getting: 
16:18:24,002 FATAL [DatasourceConnectionProvider] Could not find datasource: 
java:/devbaseDS
java.lang.ClassCastException
at 
net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:54)
at 
net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:64)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
at 
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
at 
net.sf.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:176)
at net.sf.hibernate.jmx.HibernateService.start(HibernateService.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy14.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
16:18:24,017 INFO  [HibernateServiceMBean] Could not build SessionFactory using the 
MBean classpath - will try again using client classpath: Could not find datasource
16:18:24,076 INFO  [SessionFactoryObjectFactory] Factory name: omeHibernate

when I deploy the .ear containing hibernate and a simnple SessionBean that tries to 
access it. 

I checked, that the DataSource is really present by making a lookup from the 
SessionBean - this works fine. There is obviously something bound to the name, as the 
lookup works, but the following cast produces the exception. I suspected 
ClassLoader-Errors, so i checked the Loaders which gives me:
16:18:23,944 INFO  [DatasourceConnectionProvider] Object found. Object is a 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823834#3823834

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823834


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user