如果提示”对操作“XXX”的回复消息正文进行反序列化时出错
那么多半是因为字符长度不够
调整参数
maxStringContentLength="10485760"
maxReceivedMessageSize="2147483647"
maxBufferSize="2147483647"
示例:
messageVersion="Soap12" writeEncoding="utf-8">
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
maxReceivedMessageSize="2147483647" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="2147483647" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" />
参考:https://www.cnblogs.com/hypo106/p/4157545.html