【问题标题】:long text is truncated when passed to Web Service长文本在传递给 Web 服务时被截断
【发布时间】:2011-01-20 13:46:43
【问题描述】:

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

它有一个网络服务来做数据库操作。

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

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

我使用的是 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>

【问题讨论】:

    标签: asp.net web-services


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2017-08-14
      • 2018-03-01
      • 2014-11-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-19
      • 1970-01-01
      相关资源
      最近更新 更多