Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

JAX-RPC NoClassDefFoundError when invoking a web service

 
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.
 
    Bookmark Topic Watch Topic
  • New Topic