已超过传入消息(65536)的最大消息大小配额。若要增长配额,请使用相应 webService

webservice 调用时遇到的配额问题 解决办法 在客户端 app.config或者服务端 web,config 中添加 web

maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" app

 

以下:spa

<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="LoginSoap" />
<binding name="InputStorageSoap" />
<binding name="PurchaseSoap" />
<!--<binding name="PublicServiceSoap" />-->
<binding name="PublicServiceSoap" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />webservice


</basicHttpBinding>
<customBinding>io

相关文章
相关标签/搜索