0

我在尝试使用 SoapUi 连接 AX Web 服务时遇到错误。在 IIS Web 服务器中,此特定 Web 服务已成功浏览。在 web.config 文件中,我使用的不是 Windows 身份验证,而是 wsHttpBinding 绑定。我跟进了很多我在谷歌上看到的建议,但这个网络服务还失败了。我非常感谢 AIF 专家提供的新线索来修复它。到目前为止,这真是一场噩梦。谢谢!佩普

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 xmlns:a="http://schemas.xmlsoap.org/ws/2005/02/sc">a:BadContextToken</s:Value>
            </s:Subcode>
         </s:Code>
         <s:Reason>
            <s:Text xml:lang="en-GB">The message could not be processed. This is most likely because the action 'http://schemas.microsoft.com/dynamics/2008/01/services/specific service operation' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding.</s:Text>
         </s:Reason>
      </s:Fault>
   </s:Body>
</s:Envelope>
4

0 回答 0