zoukankan      html  css  js  c++  java
  • Webservice 65535 错误

    修改配置项:

    <system.serviceModel>
        <behaviors>
          <endpointBehaviors>
            <behavior name="NewBehavior">
              <dataContractSerializer maxItemsInObjectGraph="2147483647" />
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          
          <basicHttpBinding>
            
            <binding name="CustormerServiceSoap" receiveTimeout="00:10:00" sendTimeout="00:01:00" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" />
            <binding name="CustormerServiceSoap1" receiveTimeout="00:10:00" sendTimeout="00:01:00" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" />
            
          </basicHttpBinding>
          
        </bindings>
        <client>
          
          
          <endpoint address="http://tradeapi.1234567.com.cn/WebService/CustomerService.asmx" binding="basicHttpBinding" bindingConfiguration="CustormerServiceSoap" contract="ServiceReference1.CustormerServiceSoap" name="CustormerServiceSoap" />
          <endpoint address="http://tradeapi.1234567.com.cn/WebService/CustomerService.asmx" binding="basicHttpBinding" bindingConfiguration="CustormerServiceSoap1" contract="CustormerService.CustormerServiceSoap" name="CustormerServiceSoap1" />
          
        </client>
      </system.serviceModel>
  • 相关阅读:
    python函数收集不确定数量的值
    PHP比较数组、对象是否为空
    PHP实现斐波那契数列
    Python之复制列表
    1004. 最大连续1的个数 III(滑动窗口)
    276. 栅栏涂色(动态规划)
    376. 摆动序列
    148. 排序链表
    143. 重排链表
    1530. 好叶子节点对的数量
  • 原文地址:https://www.cnblogs.com/allonzh/p/3345639.html
Copyright © 2011-2022 走看看