I tried,
java org.apache.axis.wsdl.WSDL2Java -o src file.xml
That file.xml uses soap-1.2 but i have java-1.5 with axis.jar.
I got this error:
java.io.IOException: ERROR: Missing <soap:fault> element inFault ..
How can i solve this probl开发者_JAVA技巧em ?
Thanks in advance.
The parameter -o
is meant for output and is usually used this way
java org.apache.axis.wsdl.WSDL2Java -o destination_folder input.wsdl
A java.io.IOException
looks like the file.xml
is not correct. Could you please post it as well?
精彩评论