File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Hardik Mehta
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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) ?

 
Lalit Bhatt
Ranch Hand
Posts: 69
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Hardik Mehta
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic