wsHttpBinding over Internet

时间:2009-07-27 12:24:53

标签: .net wcf wshttpbinding

我们在IIS中托管了一组WCF服务,并使用wsHttpBinding进行保护并在Internet上公开。当我尝试从客户端使用这些服务时,我收到错误 “对安全令牌的请求包含无效或格式错误的元素。”

我正在使用

    <security mode="Message">
          <message clientCredentialType="None" negotiateServiceCredential="true"
              algorithmSuite="Default" establishSecurityContext="true" />
     </security>

对此有任何帮助将不胜感激

1 个答案:

答案 0 :(得分:1)

尝试将安全模式更改为无。

另外,在互联网上,通过基本身份验证的ssl上的基础知识很有效。