调用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"