已超过传入消息(65536)的最大消息大小配额。若要增加配额,请使用相应 webService
Posted on 2015-09-08 14:27 霍先生的博客 阅读(370) 评论(0) 编辑 收藏 举报webservice 调用时遇到的配额问题 解决办法 在客户端 app.config或者服务端 web,config 中添加
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
如下:
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="LoginSoap" />
<binding name="InputStorageSoap" />
<binding name="PurchaseSoap" />
<!--<binding name="PublicServiceSoap" />-->
<binding name="PublicServiceSoap" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
</basicHttpBinding>
<customBinding>