Questions tagged «negotiate»

10
WCFTestClient使用客户端身份验证方案“匿名”对HTTP请求进行了未授权
我已经创建了一个WCF服务并将其部署在服务器上。当我浏览此服务时,它会以?wsdl URL给我肯定的答复。现在,我正在尝试通过WCF测试客户端测试服务。它显示正确的元数据。但是,当我尝试从服务中调用任何方法时,它向我显示了一个异常...这是带有堆栈跟踪的错误详细信息。 客户端身份验证方案“匿名”未授权HTTP请求。从服务器收到的身份验证标头是“ Negotiate,NTLM”。 服务器堆栈跟踪: 在 System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest请求,HttpWebResponse响应,WebException responseException,HttpChannelFactory工厂)处 ,使用客户端身份验证方案“匿名”对HTTP请求进行了未授权的操作。从服务器收到的身份验证标头是“ Negotiate,NTLM”。 服务器堆栈跟踪: 在 System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest请求,HttpWebResponse响应,WebException responseException,HttpChannelFactory工厂) 客户端绑定: <bindings> <wsHttpBinding> <binding name="WSHttpBinding_IServiceMagicService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> <security mode="None"> <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.