wscaller问题1
wscaller其实是很好使用的,页面很简单,但是我却出现了这个问题:java.io.IOException:ERROR:Missing<soap:fault>elementinFault"IOException"in operation"IOException",in binding recordSoftwareEvent。。。。。后来我在谷歌了n多次之后,发现有一句话很好,但是我却没有找到对应此的很好的解决方法。。。
I believe that there is a JIRA open for this one.
Description:
When you have a soap 1.2 binding with soap fault, the fault element is not correctly extracted, resulting in error
ERROR: Missing <soap:fault> element inFault "..." in operation "...", in binding ...
Their temporary recommendation is adding a line of code and recompiling Axis1... Nahh.
Personally, I've just downloaded the wsdl file (it's an Axis 2 service and I have an Axis 1.5 client) and edited the namespace for all of the following lines from:
<wsdl:fault name="Exception">
<soap12:fault use="literal" name="Exception"/>
</wsdl:fault>
to:
<wsdl:fault name="Exception">
<soap:fault use="literal" name="Exception"/>
</wsdl:fault>
As suggested here.
Upgrading to Axis2, however, is the best long term solution. After resolving this issue, I have found yet more errors in the code that WSDL2JAVA has generated.
在此种,问题的描述和我遇到的一模一样。
但是我却不知道怎么解决!!!