首先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了。

posted on 2016-05-25 10:33  mrma1989  阅读(1349)  评论(0编辑  收藏  举报