Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <system.serviceModel>
- <bindings>
- <wsHttpBinding>
- <binding name="WSHttpBinding_ICalculator" closeTimeout="00:01:00"
- openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
- bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
- maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
- messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
- allowCookies="false">
- <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
- maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- <reliableSession ordered="true" inactivityTimeout="00:10:00"
- enabled="false" />
- <security mode="Message">
- <transport clientCredentialType="Windows" proxyCredentialType="None"
- realm="" />
- <message clientCredentialType="Windows" negotiateServiceCredential="true"
- algorithmSuite="Default" />
- </security>
- </binding>
- </wsHttpBinding>
- </bindings>
- <services>
- <service name="Service">
- <endpoint address="172.16.70.125:8080/Service" binding="basicHTTPBinding" contract="Microsoft.ServiceModel.Samples.ICalculator"/>
- </service>
- <service behaviorConfiguration="metadataBehavior" name="MyService">
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- </service>
- </services>
- <behaviors>
- <serviceBehaviors>
- <behavior name="metadataBehavior">
- <serviceMetadata httpGetEnabled="true" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- <client>
- <endpoint address="http://localhost:8080/Service/CalculatorService"
- binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ICalculator"
- contract="ICalculator" name="WSHttpBinding_ICalculator">
- <identity>
- <userPrincipalName value="hari-PC\hari" />
- </identity>
- </endpoint>
- </client>
- </system.serviceModel>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement