WCF 调用方未由服务进行身份验证

 服务器端

添加

  <bindings>
      <wsHttpBinding>
        <binding name="NoneSecurity">
          <security mode="None"/>
        </binding>
      </wsHttpBinding>
    </bindings>

   <endpoint address="" binding="wsHttpBinding" bindingConfiguration="NoneSecurity"contract="WcfService2.IService1">

 

客户端修改

 <security mode="None"></security>

 

posted @ 2016-12-29 13:39  释迦苦僧  阅读(346)  评论(0编辑  收藏  举报