首先wcf项目在使用http时是没问题的。

WCF有http更改为https之后,返回 没有终结点在侦听可以接受消息

需要修改wcf服务端及客户端

服务端更改代码

<binding maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" >
<security mode="Transport">
<transport clientCredentialType="None"/></security>
</binding>

 

 

客户端代码

 <binding name="WSHttpBinding_IQianJinService" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
 <security mode="Transport">
            <transport clientCredentialType="None"/>
          </security>

 

红色为更改的部分。改了就OK了。

相关文章:

  • 2021-12-04
  • 2022-01-28
  • 2021-10-15
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案