zoukankan      html  css  js  c++  java
  • Web serviser请求通道在等待 00:00:59.6479648 以后答复时超时。增加传递给请求调用的超时值,或者增加绑定上的 SendTimeout 值。分配给此操作的时间可能是更长超时的一部分。

    可以把sendTimeout调长一点试试

    .net webService 中:

    设置这些参数,延长连接时间,

    closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"

    1 <binding name="netTcpBindConfig" closeTimeout="00:30:00" 
    2 openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00" 
    3 transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" 
    4 hostNameComparisonMode="StrongWildcard" listenBacklog="10" 
    5 maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxConnections="10" 
    6 maxReceivedMessageSize="2147483647"> 


      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="XZDataWebChatServiceSoap" closeTimeout="00:30:00" openTimeout="00:30:00" receiveTimeout="00:30:00"           sendTimeout="00:30:00" />
          </basicHttpBinding>
        </bindings>
        <client>
        <endpoint address="http://10.101.5.20:8010/Portal/Tenant/Webservice/XZDataWebChatService.asmx"
          binding="basicHttpBinding" bindingConfiguration="XZDataWebChatServiceSoap"
          contract="ServiceReference1.XZDataWebChatServiceSoap" name="XZDataWebChatServiceSoap" />
        </client>
      </system.serviceModel>
    </configuration
    >

  • 相关阅读:
    WebSphere--安全性
    WebSphere--会话跟踪
    WebSphere--用户简要表
    WebSphere--连接管理器
    WebSphere--部署Servlet
    WebSphere--定制配置
    WebSphere--安装与配置
    WebSphere--基本特性
    六、Html头部和元信息
    五、Html表单标签
  • 原文地址:https://www.cnblogs.com/zxbzl/p/5849668.html
Copyright © 2011-2022 走看看