尝试使用SoapUi连接AX网络服务时出错。在IIS Web服务器中,已成功浏览此特定Web服务。在web.config文件中,我使用的不是Windows身份验证,而是使用wsHttpBinding绑定。 我跟进了很多建议,我已经看到谷歌搜索,但这个网络服务失败了。 我非常感谢来自AIF专家的新线索来解决它。到目前为止,这真是一场噩梦。 谢谢! PEP
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>