来自WSHttpbinding绑定的SOAP UI调用

时间:2015-05-11 13:14:25

标签: c# web-services wcf

我需要你的帮助来了解我应该如何从SOAP UI访问WSHttpBinding服务,我正在使用的绑定如下所示,我希望有客户端Windows身份验证。

  <wsHttpBinding>
    <binding name="wsHttpBinding1">
      <security mode="Message">
        <message clientCredentialType="Windows" negotiateServiceCredential="false" establishSecurityContext="false" />
      </security>
    </binding>
  </wsHttpBinding>

但是我收到了错误的上下文错误消息,并且在跟踪后发现了以下错误。

  

无法处理邮件。这很可能是因为   行动&#39; http://tempuri.org/#####/####&#39;不正确或因为   message包含无效或过期的安全上下文令牌或   因为绑定之间存在不匹配。安全上下文   如果服务中止了该通道,则令牌将无效   闲置。防止服务中止空闲会话   过早增加服务端点上的接收超时   结合。

0 个答案:

没有答案