Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in creating webservice

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to generate the Stubs & skeleton using WSDL2JAVA, but its giving an error.

Buildfile: build.xml

prepare:

gen:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ws/policy/Assertion
[java] at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:25)
[java] at org.apache.axis2.description.AxisService.<init>(AxisService.java:194)
[java] at org.apache.axis2.description.WSDL2AxisServiceBuilder.<init>(WSDL2AxisServiceBuilder.java:156)
[java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87)
[java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
[java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
[java] Java Result: 1

BUILD SUCCESSFUL

can any body tell me in which jar file can I get this class..
Thanks
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this. This might help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic