通过c#console app,客户端身份验证方案“Anonymous”未授权HTTP请求

时间:2014-02-11 10:11:25

标签: c# authorization ntlm

如何获得计划和NTLM'通过控制台c#app?

我尝试连接到web-service(我有wldl文件的url)。 所以,我创建服务引用,添加此地址并按下Go!

但我收到错误:

 The HTML document does not contain Web service discovery information.
Metadata contains a reference that cannot be resolved: 'http://webserver/service.php?wsdl'.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The     authentication header received from the server was 'NTLM'.
The remote server returned an error: (401) Unauthorized.

0 个答案:

没有答案