You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Ivano Luberti <lu...@archicoop.it> on 2004/07/14 15:00:26 UTC
java2WSDL SOAPFault
Hi to all, before making this question:
i searched all archived message at http://marc.theaimsgroup.com/
i subscribed to the user list, posted the same question and received no
responses
i searched the bug list on JIRA and found no responses
So i decided to write to this list as suggested on
http://ws.apache.org/axis/bugs.html
This is the point:
I installed axis 1.1, on tomcat 4.1.30, java 1.4.1_01-b01 correctly, used
happyaxis pages and all the test reported in the "Axis Installation Guide"
with success.
I used the AdminClient to deploy some of the services in the samples
package and all went well
So AXISCALSSPATH is well set.
Now when a try to use the Jawa2WSDL application i get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/wsdl/extensions
/soap/SOAPFault
at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:236)
at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:228)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:541)
I get the exception both using it without args:
java -cp %AXISCLASSPATH% org.apache.axis.wsdl.Java2WSDL
and using the example on the guide:
java org.apache.axis.wsdl.Java2WSDL -o
wp.wsdl -l"http://localhost:8080/axis/services/WidgetPrice"
-n "urn:Example6" -p"samples.userguide.example6"
"urn:Example6" samples.userguide.example6.WidgetPrice
So it not depends on the args but on some configuration problem or it's an
AXIS bug.
Thanks in advance for any suggestion.