从HTTPS IIS8网站错误调用HTTP匿名Web服务

时间:2014-09-18 09:03:49

标签: web-services wcf

我在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>

0 个答案:

没有答案