<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="MMSFetchSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="655360000" maxReceivedMessageSize="655360000" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="163840000" maxBytesPerRead="4096" maxNameTableCharCount="163840000" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:903/MMSFetch.asmx" binding="basicHttpBinding" bindingConfiguration="MMSFetchSoap" contract="MMSFetchServiceReference.MMSFetchSoap" name="MMSFetchSoap" />
</client>
</system.serviceModel>
C# Web站点调用webservice接口配置
最新推荐文章于 2024-07-22 21:04:31 发布