客户端字符串接收无法超过8192?

franticwind 2010-07-29 11:14:43
我用VS2008开发客户端引用webservice,返回字符串过长无法正常接收。
异常:
。。。。
The maximum string content length quota (8192) has been exceeded while reading XML data.
。。。。
修改了配置文件:maxStringContentLength="65536"没用,还是抱那个异常。

请问是什么原因?如何接收长字符串?
...全文
107 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
xyunsh 2010-07-29
  • 打赏
  • 举报
回复
http://www.cnblogs.com/upzone/archive/2009/01/20/1378655.html

看看这个?
mayonglong 2010-07-29
  • 打赏
  • 举报
回复
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />

12,162

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧