You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Madeleine Wright <m....@ru.ac.za> on 2004/08/08 22:35:29 UTC
problem with Java2WSDL?
I have tried several times to generate a WSDL using Java2WSDL. Finally
I followed the pattern suggested in an article and, after preparing the
classes etc, ran:
java org.apache.axis.wsdl.Java2WSDL -o cruise.wsdl -l
http://localhost:8080/axis/servlet/AxisServlet -n "urn:cruise" -S
"CruiseService" CruiseService
This produced the same exception I kept getting before:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/wsdl/extensions/ExtensibilityElement
at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:263)
at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:254)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:627)
I can see that the class is referred to: Emitter returns one! But where
is it? The documentation says it's used by the "?wsdl" construct. So
how is it accessed there but not in an ordinary call?
Help please someone!
Madeleine