aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Web service Client with Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Web service Client with Axis2" Watch "Web service Client with Axis2" New topic
Author

Web service Client with Axis2

Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
I was wondering whether working with ejb3 and axis2 to write a web service client would need any extra configuration? As It gives me an runtime exception saying java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/xml/namespace/QName, with just an invoke of ServiceClient sender = new ServiceClient();

Any idea why this happens. Thanks in advance.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Do you have all the jar files that come with Axis in your classpath? At a quick glance, there are about 50 of them, one of which contains this class.
 
 
subject: Web service Client with Axis2