开发者

How to create java class from wsdl(soap-1.2) file with java-jdk-1.5

开发者 https://www.devze.com 2023-03-21 09:09 出处:网络
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 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消