撰寫C# Win Form 呼叫一個Web Service , 由於資料量過大,所以發生MaxReceivedMessageSize 的錯誤
調整App.Config 即可解決這個問題
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
**<basicHttpBinding>
<binding name="MobileWebServiceSoap" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>**
</bindings>
<client>
<endpoint address="http://www.xxxx.com.tw/mobileWebservice.asmx"
binding="basicHttpBinding" bindingConfiguration="MobileWebServiceSoap"
contract="WebServiceGT.MobileWebServiceSoap" name="MobileWebServiceSoap" />
</client>
</system.serviceModel>
</configuration>
Harrah's Las Vegas - MapyRO
回覆刪除Harrah's Las Vegas 남양주 출장샵 is a casino hotel located on the 대전광역 출장마사지 Las 동해 출장마사지 Vegas Strip in Paradise, Nevada, United States and is open daily 24 hours. 의왕 출장샵 Harrah's 태백 출장샵