调用webservice时提示对操作的回复消息正文进行反序列化时出错。

主要原因webservice返回值的长度超过readerQuotas中的了maxStringContentLength值,造成返回值截断,不完整,反序列化时出错。

       <readerQuotas maxDepth="32" maxStringContentLength="81920" maxArrayLength="16384"
                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />

解决方案:调整maxStringContentLength的值

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-12-21
  • 2022-12-23
  • 2021-10-03
猜你喜欢
  • 2021-08-08
  • 2021-06-13
  • 2021-07-03
  • 2022-12-23
  • 2022-01-31
  • 2021-05-31
  • 2021-11-02
相关资源
相似解决方案