请帮我解决此问题。在HTTPS上使用Web安全性调用SOAP服务时发生异常
我正在写一个java SOAP客户端来打击一些正在HTPPS上工作的第三方的SOAP服务&接受头部中的web-security。称为操作的soap服务反过来返回一个类对象。 我写了一个类,同时调用服务,我得到了异常。我试图获得SOAP信封,发送到服务&执行它与SOAP UI工具&获得了成功的响应。 我有点困惑什么是错误的,当我发送SOAP信封与我的JAVA SOAP客户端我得到下面的异常,同时使用SOAP UI工具运行相同的SOAP信封,我得到了成功的响应。
在线程异常 “主” AxisFault
的faultcode:{http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
faultSubcode: faultString:没明白"的mustUnderstand "报头(词):
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
在org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
在org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
在org.apache。 axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke( Call.java:1910)
在fibonacci.testing.TestService.main(TestService.java:92)
{http://xml.apache.org/axis/}hostname:localhost
听不懂 “的mustUnderstand” 物管:
在org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
在org.apache.axis.client.AxisClient .invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767 )
在org.apache.axis.client.Call.invoke(Call.java:1910)
在fibonacci.testing.TestService.main(TestService.java:92)
谢谢我解决了这个问题。这是我的客户在服务器响应中不理解安全标头。 –