问题:调用 WCF返回错误
远程服务器返回了意外响应: (413) Request Entity Too Large。
解决:在 config 配置文件,设置wcf接收的消息的最大大小 2147483647(单位为字节),默认大小为65536
服务端配置文件添加节点 :
<bindings>
<basicHttpBinding>
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
</basicHttpBinding>
</bindings>