我正在使用XML文件将数据发送到WCF服务。发送冗长数据(36KB)到服务时我得到以下问题 远程服务器返回意外响应:(413)请求实体太大。 如何解决这个问题,请帮帮我。 先谢谢.. 我尝试了什么: 这是我的应用.config(客户端)绑定设置 < wshttpbinding> < binding name =WSHttpBinding_IServiceclosetimeout =00:05:00> openTimeout =00:05:00sendTimeout =00:05:00maxBufferPoolSize =2147483647 maxReceivedMessageSize =2147483647> < readerquotas maxdepth =2147483647maxstringcontentlength =2147483647maxarraylength =2147483647maxbytesperread =2147483647maxnametablecharcount =2147483647>
解决方案浏览此链接: wcf - IIS7 - (413)请求实体太大| uploadReadAheadSize - Stack Overflow [ ^ ]
I am using XML file for sending data to WCF Service. I got below Issue when sending lengthy data (36KB) to service "The remote server returned an unexpected response: (413) Request Entity Too Large." How to solve this issue, Please help me. Thanks in Advance.. What I have tried: this is my app.config(Client) Binding settings <wshttpbinding> <binding name="WSHttpBinding_IService" closetimeout="00:05:00"> openTimeout="00:05:00" sendTimeout="00:05:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647">
解决方案 Go through this link : wcf - IIS7 - (413) Request Entity Too Large | uploadReadAheadSize - Stack Overflow[^]更多推荐
如何解决“请求实体太大”的问题将XML格式的请求发送到WCF服务时出现问题
发布评论