我在IIS8 HTTPS网站中运行asp.net应用程序。 该应用程序正在尝试访问HTTP Web服务但收到 这个错误就叫。
错误:HTTP请求被禁止使用客户端身份验证方案' Anonymous'。
对Web服务的调用可以在我的开发电脑上运行 本地作为http。
我想知道这是IIS设置更改还是web.config更改或HTTP HTTPS站点内是否允许请求?
正在调用的Web服务在web.config中设置为:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="APPO_LookupSoap">
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://netdocs.xxxxxxxx.co.uk/TroposNetDocsIntegration/APPO_Lookup.asmx"
binding="basicHttpBinding" bindingConfiguration="APPO_LookupSoap"
contract="RM_WebService.APPO_LookupSoap" name="APPO_LookupSoap" />
</client>
</system.serviceModel>