wcf - 无法处理该消息,因为操作 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT' 无效或无法识别。

标签 wcf wif saml

尝试使用 WCF Claims Aware 设置 STS。我在客户端收到此消息:

Server Error in '/ClientWebsite' Application. The message could not be processed because the action 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT' is invalid or unrecognized.



我该如何解决这个问题?

最佳答案

WIF 4.5 有同样的问题和 ADFS 2.0 .我通过禁用绑定(bind)上的安全上下文来解决它:

binding.Security.Message.EstablishSecurityContext = false;

关于wcf - 无法处理该消息,因为操作 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT' 无效或无法识别。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12972008/

相关文章:

forms-authentication - 混合模式联合身份验证和表单例份验证

xml - 为 SAML 签名和加密创建 x509.v3 自签名证书,Windows 8 R2

perl - 如何在 Perl 中验证 SAML 断言?

asp.net - WCF Restful Web 服务返回 JSON

c# - WCF - 读取 XML 数据时已超出最大可命名字符数配额 (16384)

c# - 使用 WIF 在 Asp.Net 4.5 上自定义身份验证

python - 在 python 中验证 SAML 签名

wcf - 客户端中的 FaultException 处理?

c# maxreceivedmessagesize 不工作

php - 在 PHP 上实现 Windows Identity Foundation