在Java运行时9上运行时,我的applet无法使用SOAP调用登录到服务器。我的通话堆栈如下
var obj = response.find(function (obj) { return obj.idName == id; });
我的axis2库版本是1.6.3
在调试时,我发现当applet在jre 8上运行时,用于SOAP调用的xml soapenv元素包含xml名称空间
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "soapenv"
at [row,col {unknown-source}]: [1,56]
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.mypackage.icn.service.ServerStub.loginUserPassword(ServerStub.java:8433)
在jre 9上丢失了
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">