This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
Marshal

Joined: Mar 22, 2005
Posts: 41629
    
  55
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web service Client with Axis2