GeeCON Prague 2014*
The moose likes Web Services and the fly likes JBOSS web service client doesn't work ( runtime modeler error: Wrapper class not found ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "JBOSS web service client doesn Watch "JBOSS web service client doesn New topic
Author

JBOSS web service client doesn't work ( runtime modeler error: Wrapper class not found )

Hardik Mehta
Greenhorn

Joined: Jul 31, 2006
Posts: 19
I have a simple hello-world EJB3 successfully deployed as web service. I can check it with url: http://localhost:8080/jbossws/services


Following is the client which works for Glassfish but doesn't work for JBOSS



Here is how I execute the client and the error I get:



Do I need to generate something ? Am I missing some jar file(s) ?


cout << About programming, Linux, music, stars, life and everything;
Lalit Bhatt
Ranch Hand

Joined: Dec 27, 2007
Posts: 69

Try this, if you are in Jboss4.2 try this.

Copy $JBOSS_HOME/lib/endorsed/xercesImpl.jar into $JBOSS_HOME/client directory. This is to resolve an issue in JBoss4.2 about a class not found.
Copy $JBOSS_HOME/server/default/lib/jboss-saaj.jar to $JBOSS_HOME/lib/endorsed


Java-JavaEE Hibernate Spring Software Development Business Process Analysis
Hardik Mehta
Greenhorn

Joined: Jul 31, 2006
Posts: 19
Thanks Lalit,

I sorted out this problem. It was a missing jars problem indeed and I ended up with following in my class path:
All the libs are from jboss/client


But after the client started running properly, I got following exception in my server.log



And on client side it looks like following:


Just for info: I installed jboss from jboss-5.1.0.GA-jdk6.zip

thanks & regards.
Jan Junker
Greenhorn

Joined: Sep 23, 2009
Posts: 1
did you solve your problem? I have exactly the same with JBOSS 5.1.0GA JDK1.6 compiled. I'm not able to call the webservice with the "setProperty must be overridden by all subclasses of SOAPMessage" exception.
 
GeeCON Prague 2014
 
subject: JBOSS web service client doesn't work ( runtime modeler error: Wrapper class not found )