none
如何把服务生成的配置改成C#代码? RRS feed

  • 问题

  •  <system.serviceModel>
        <client>
          <endpoint address="http://192.168.0.54:8066/Client.asmx" binding="basicHttpBinding"
            bindingConfiguration="ClientSoap" contract="ServiceReference.ClientSoap"
            name="ClientSoap" />
        </client>
        <bindings>
          <basicHttpBinding>
            <binding name="ClientSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
              receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
              bypassProxyOnLocal="false" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
              useDefaultWebProxy="true" />
          </basicHttpBinding>
        </bindings>
      </system.serviceModel>

    2014年1月7日 9:53

答案