传递给Web Service时,长文本被截断

时间:2011-01-20 13:46:43

标签: asp.net web-services

我有一个外部应用程序(Serena Business Mashups),SBM是一个业务管理工具,我们正在使用它作为缺陷跟踪器。

它有一个Web服务来执行数据库操作。

我需要使用他们的Web服务更新此系统上的字段,我需要更新的数据是一个很长的(110000个字符串)字符串。

因此,当我调用update方法时,数据会更新,但会被截断。我在下面粘贴了我的网络配置设置。那么有一个我不知道的限制吗?

我使用的是asp.net网络服务,而不是WCF。

感谢您的帮助。

此致

<system.serviceModel> <bindings> <basicHttpBinding> <binding name="aewebservices71" closeTimeout="01:00:00" openTimeout="01:00:00" receiveTimeout="01:00:00" sendTimeout="01:00:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm=""/> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> <client> <endpoint address="http://imgtt1:80/gsoap/gsoap_ssl.dll?aewebservices71" binding="basicHttpBinding" bindingConfiguration="aewebservices71" contract="BMService.aewebservices71PortType" name="aewebservices71" /> </client> </system.serviceModel>

1 个答案:

答案 0 :(得分:0)

解决了这个问题,这是因为Serena Business Mashups网络服务的限制。