Advertisement
Guest User

Untitled

a guest
Jul 9th, 2013
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.95 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup><system.serviceModel>
  4.         <bindings>
  5.             <basicHttpBinding>
  6.                 <binding name="imail_apiSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
  7.                    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
  8.                    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
  9.                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
  10.                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
  11.                    useDefaultWebProxy="true">
  12.                     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  13.                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  14.                     <security mode="Transport">
  15.                         <transport clientCredentialType="None" proxyCredentialType="None"
  16.                            realm="" />
  17.                         <message clientCredentialType="UserName" algorithmSuite="Default" />
  18.                     </security>
  19.                 </binding>
  20.                 <binding name="imail_apiSoap1" closeTimeout="00:01:00" openTimeout="00:01:00"
  21.                    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
  22.                    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
  23.                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
  24.                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
  25.                    useDefaultWebProxy="true">
  26.                     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  27.                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  28.                     <security mode="None">
  29.                         <transport clientCredentialType="None" proxyCredentialType="None"
  30.                            realm="" />
  31.                         <message clientCredentialType="UserName" algorithmSuite="Default" />
  32.                     </security>
  33.                 </binding>
  34.             </basicHttpBinding>
  35.             <customBinding>
  36.                 <binding name="imail_apiSoap12">
  37.                     <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
  38.                        messageVersion="Soap12" writeEncoding="utf-8">
  39.                         <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  40.                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  41.                     </textMessageEncoding>
  42.                     <httpsTransport manualAddressing="false" maxBufferPoolSize="524288"
  43.                        maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
  44.                        bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
  45.                        keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
  46.                        realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
  47.                        useDefaultWebProxy="true" requireClientCertificate="false" />
  48.                 </binding>
  49.             </customBinding>
  50.         </bindings>
  51.         <client>
  52.             <endpoint address="https://www.imailtest.co.uk/webservice/imail_api.asmx"
  53.                binding="basicHttpBinding" bindingConfiguration="imail_apiSoap"
  54.                contract="ServiceReference1.imail_apiSoap" name="imail_apiSoap" />
  55.             <endpoint address="https://www.imailtest.co.uk/webservice/imail_api.asmx"
  56.                binding="customBinding" bindingConfiguration="imail_apiSoap12"
  57.                contract="ServiceReference1.imail_apiSoap" name="imail_apiSoap12" />
  58.         </client>
  59.     </system.serviceModel>
  60. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement