调用WCF时,出现下面的错误:

System.ServiceModel.Security.SecurityNegotiationException : The caller was not authenticated by the service.
 System.ServiceModel.FaultException : The request for security token could not be satisfied because authentication failed.

解决方法:

将 binding="wsHttpBinding" 改为:binding="basicHttpBinding"

 

相关文章:

  • 2021-08-20
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案