File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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>(
[java] at org.apache.axis2.description.AxisService.<init>(
[java] at org.apache.axis2.description.WSDL2AxisServiceBuilder.<init>(
[java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
[java] at org.apache.axis2.wsdl.WSDL2Code.main(
[java] at org.apache.axis2.wsdl.WSDL2Java.main(
[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 />
I agree. Here's the link:
subject: Exception in creating webservice
It's not a secret anymore!