wsHttpBinding.config 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <system.serviceModel>
  4. <bindings>
  5. <wsHttpBinding>
  6. <binding name="WSHttpBinding_IHelloWorldService" closeTimeout="00:01:00"
  7. openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  8. bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
  9. maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
  10. messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
  11. allowCookies="false">
  12. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  13. maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  14. <reliableSession ordered="true" inactivityTimeout="00:10:00"
  15. enabled="false" />
  16. <security mode="Message">
  17. <transport clientCredentialType="Windows" proxyCredentialType="None"
  18. realm="" />
  19. <message clientCredentialType="Windows" negotiateServiceCredential="true"
  20. algorithmSuite="Default" establishSecurityContext="true" />
  21. </security>
  22. </binding>
  23. </wsHttpBinding>
  24. </bindings>
  25. <client>
  26. <endpoint address="http://localhost:2160/WCFWebApp/Service.svc"
  27. binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Service"
  28. contract="ServiceReference1.Service" name="BasicHttpBinding_Service" />
  29. </client>
  30. </system.serviceModel>
  31. </configuration>