今天调取WebService的时候报:

HTTP 请求未经客户端身份验证方案“Anonymous”授权。


解决办法:

配置文件里改:

   <basicHttpBinding>
       <binding name="WorkflowServiceSoap">
           </binding>
   </basicHttpBinding>

 

改成这样:

   <basicHttpBinding>
       <binding name="WorkflowServiceSoap">
           <security mode="None">
               <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
               <message clientCredentialType="UserName" algorithmSuite="Default" />
           </security>
       </binding>
   </basicHttpBinding>

 

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-11-03
  • 2021-06-22
  • 2022-02-16
  • 2021-10-09
  • 2021-11-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案