通过 Internet 的 wsHttpBinding
我们有一组托管在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将安全模式更改为无。
或者,通过互联网,基于 ssl 的基本 http 绑定和基本身份验证也可以很好地工作。
Try changing the security mode to none.
Alternativily, over the internet basichttpbinding over ssl with basic authenication works well.