通过 Internet 的 wsHttpBinding

发布于 2024-07-29 08:33:10 字数 401 浏览 4 评论 0原文

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

我正在使用

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

任何有关此的帮助将不胜感激

We have a set of WCF services hosted in IIS and secured with wsHttpBinding and exposed on Internet. When I am trying to consume those services from a client I am getting an error
"Request for the security token has invalid or malformed elements."

I am using

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

Any help on this would be appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

万人眼中万个我 2024-08-05 08:33:10

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

或者,通过互联网,基于 ssl 的基本 http 绑定和基本身份验证也可以很好地工作。

Try changing the security mode to none.

Alternativily, over the internet basichttpbinding over ssl with basic authenication works well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文