xml – 在SOAPUI请求中的EndpointDispatcher中获取AddressFilter不匹配

前端之家收集整理的这篇文章主要介绍了xml – 在SOAPUI请求中的EndpointDispatcher中获取AddressFilter不匹配前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我的服务运行正常如果我通过我的客户端应用程序使用它.我正在使用相同的wsdl在SOAPUI中加载.它已经成功地为每种方法创建了样本测试.我想发送一个请求,它应该相应地产生响应.我可以在请求属性中看到正确的端点地址.它自动生成了一个SOAP XML.如果我尝试运行它来获得响应.它给我以下错误.
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
  <a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action>
</s:Header>
<s:Body>
  <s:Fault>
     <s:Code>
        <s:Value>s:Sender</s:Value>
        <s:Subcode>
           <s:Value>a:DestinationUnreachable</s:Value>
        </s:Subcode>
     </s:Code>
     <s:Reason>
        <s:Text xml:lang="en-GB">The message with To '' cannot be processed at the receiver,due to an AddressFilter mismatch at the EndpointDispatcher.  Check that the sender and receiver's EndpointAddresses agree.</s:Text>
     </s:Reason>
  </s:Fault>

我不知道在哪里检查这里出了什么问题.请在这方面帮助我.我正在使用SOAPUI4.0.1.

问题是因为请求消息缺少一个To头.在消息编辑器上,在请求消息窗口的下方单击按钮WS-A.然后选中“添加默认wsa:To”复选框

现在运行您的请求,服务将运行正常.

希望有帮助

如果确实解决了您的问题,请将其标记为答案

原文链接:https://www.f2er.com/xml/292236.html

猜你在找的XML相关文章