• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web service Client with Axis2

 
Cloey Tan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic