wood burning stoves 2.0*
The moose likes Web Services and the fly likes Exception in creating  webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception in creating  webservice" Watch "Exception in creating  webservice" New topic

Exception in creating webservice

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Hi I am trying to generate the Stubs & skeleton using WSDL2JAVA, but its giving an error.

Buildfile: build.xml


[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


can any body tell me in which jar file can I get this class..
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

Try this. This might help you.

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
I agree. Here's the link: http://aspose.com/file-tools
subject: Exception in creating webservice
Similar Threads
SOAP 1.1 or 1.2
Exception In web services
Axis2 and WebLogic 8.1 - Erroneous handlers
Axis2 - WSDL to code
wsdl parsing exception