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

调用WebService方法出现超时,可在客户端的Web.config如下设置:

<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>

原文地址:https://www.cnblogs.com/Sabre/p/15225209.html