Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. <system.serviceModel>
  2. <services>
  3. <service behaviorConfiguration="MyServiceTypeBehaviors" name="UCSService.UCSModule">
  4. <endpoint address="" binding="basicHttpBinding" contract="UCSService.IUCSModule">
  5. </endpoint>
  6. <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
  7. <host>
  8. <baseAddresses>
  9. <add baseAddress="http://localhost:9000/"/>
  10. </baseAddresses>
  11. </host>
  12. </service>
  13. </services>
  14. <behaviors>
  15. <serviceBehaviors>
  16. <behavior name="MyServiceTypeBehaviors">
  17. <serviceMetadata httpGetEnabled="true"/>
  18. <serviceDebug includeExceptionDetailInFaults="true"/>
  19. </behavior>
  20. </serviceBehaviors>
  21. </behaviors>
  22. <bindings>
  23. <basicHttpBinding>
  24. <binding name="BasicHttpEndpointBinding" closeTimeout="00:01:00"
  25. openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  26. allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
  27. maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
  28. messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
  29. useDefaultWebProxy="true">
  30. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  31. maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  32. <security mode="TransportCredentialOnly">
  33. <transport clientCredentialType="Windows" proxyCredentialType="None"
  34. realm="" />
  35. <message clientCredentialType="UserName" algorithmSuite="Default" />
  36. </security>
  37. </binding>
  38. </basicHttpBinding>
  39. </bindings>
  40. </system.serviceModel>
  41.  
  42. <system.serviceModel>
  43. <bindings>
  44. <basicHttpBinding>
  45. <binding name="BasicHttpEndpointBinding" closeTimeout="00:01:00"
  46. openTimeout="00:00:30" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  47. allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
  48. maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536"
  49. textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
  50. messageEncoding="Text">
  51. <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
  52. maxBytesPerRead="4096" maxNameTableCharCount="16384" />
  53. <security mode="TransportCredentialOnly">
  54. <transport clientCredentialType="Windows" proxyCredentialType="None"
  55. realm="" />
  56. <message clientCredentialType="UserName" algorithmSuite="Default" />
  57. </security>
  58. </binding>
  59. </basicHttpBinding>
  60. </bindings>
  61. <client>
  62. <endpoint address="http://192.168.101.123:9000/" binding="basicHttpBinding"
  63. bindingConfiguration="BasicHttpEndpointBinding" contract="UCSModuleClient.IUCSModule"
  64. name="BasicHttpBinding_UCSModule" />
  65. </client>
  66. </system.serviceModel>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement