Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-RPC NoClassDefFoundError when invoking a web service  RSS feed

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JAX-RPC. I tried creating a simple Java bean in RAD 7.0, and went through the options to create a JAX-RPC webservice. My method is as below.



This works fine when called from a client, if i do not import any dependent classes. However, when i import a dependent class (Customclass shown above), i get to see the below exception.


[9/12/09 9:59:00:182 IST] 00000026 UserException E WSWS3228E: Error: Exception: WebServicesFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultString: java.lang.NoClassDefFoundError: faultActor: null faultDetail: java.lang.NoClassDefFoundError:*


Packaging - the above method resides in an application(ear) which has all the necessary classes included as jar files within the ear. The above method is invoked from a client - JAX-RPC client.

Would appreciate if someone could guide me on this.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!