zoukankan      html  css  js  c++  java
  • WCF 远程服务器返回了意外响应: (400) Bad Request。

      WCF 端  <system.web>    

    <httpRuntime maxRequestLength="2147483647" />  

    </system.web>

    <binding name="NewBinding0" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"                     messageEncoding="Text">          

    <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"   maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />       

      </binding>  <service behaviorConfiguration="newBehavior" name="Com.Yst.InternalAPI.FileService">    

         <endpoint address="" binding="basicHttpBinding" bindingConfiguration="NewBinding0"           contract="Com.Yst.InternalAPI.IFileService" />      

    </service>

    客户端  <system.web>  

       <httpRuntime maxRequestLength="2147483647" />  

    </system.web>

      <binding name="BasicHttpBinding_IFileService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"                     messageEncoding="Text">          

    <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"  maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />      

       </binding>

      <services>    

       <service name="BasicHttpBinding_IFileService">     

        <endpoint address="http://api.aa.com/Services/FileService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFileService" contract="InternalAPI_FileService.IFileService">        

    </endpoint>            

      </service>  

       </services>

    <client>    

       <endpoint address="http://api.aa.com/Services/FileService.svc"   binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFileService"   contract="InternalAPI_FileService.IFileService" name="BasicHttpBinding_IFileService" />

      </client>

  • 相关阅读:
    Python 文件批量改名
    解决 unity 生成 android apk read Resources
    IIS 重定向 自动追加 eurl.axd 后缀
    多线程
    zookeeper面试
    线程之间的通信(thread signal)
    软考高项之计算题成本类计算
    PowerDesigner PDM 复制comment到name
    软考高项之计算题进度类
    全面理解Java内存模型
  • 原文地址:https://www.cnblogs.com/liufei88866/p/3278665.html
Copyright © 2011-2022 走看看