[Error] WCF: SOAP security negotiation
WCF 服务是启动了,包括三种binding: wsHttpBinding, basicHttpBinding, netTcpBinding.
但当使用wcftestclient进行测试的时候,唯有basicHttpBinding 工作正常,其它两种报错误。错误与
wsHttpBinding:
SOAP security negotiation with 'http://localhost:8001/WCFService' for target 'http://localhost:8001/WCFService' failed. See inner exception for more details.
netTcpBinding:
A call to SSPI failed, see inner exception.
解决方案:
http://social.msdn.microsoft.com/Forums/zh-CN/wcfzhchs/thread/2b6670c6-99de-41ae-befa-f0afed49114d/
http://msdn.microsoft.com/zh-cn/library/ms733813
原因:印象中我前不久在IE中把所有的证书都清空了,估计跟这个操作有关,导致Certificate Chain有问题。
TAG: