- WSDL Generation for WCF Service Behind Load Balancer
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <system.serviceModel>
- <bindings>
- <customBinding>
- <binding name="myBindingEndpoint">
- <!-- WsdlImporter encountered unrecognized policy assertions in ServiceDescription 'http://tempuri.org/': -->
- <!-- <wsdl:binding name='myBindingEndpoint'> -->
- <!-- <sp:HttpToken xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">..</sp:HttpToken> -->
- <security defaultAlgorithmSuite="Default" authenticationMode="CertificateOverTransport"
- requireDerivedKeys="true" securityHeaderLayout="Strict" includeTimestamp="true"
- keyEntropyMode="CombinedEntropy" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10">
- <localClientSettings cacheCookies="true" detectReplays="false"
- replayCacheSize="900000" maxClockSkew="00:05:00" maxCookieCachingTime="Infinite"
- replayWindow="00:05:00" sessionKeyRenewalInterval="10:00:00"
- sessionKeyRolloverInterval="00:05:00" reconnectTransportOnFailure="true"
- timestampValidityDuration="00:05:00" cookieRenewalThresholdPercentage="60" />
- <localServiceSettings detectReplays="false" issuedCookieLifetime="10:00:00"
- maxStatefulNegotiations="128" replayCacheSize="900000" maxClockSkew="00:05:00"
- negotiationTimeout="00:01:00" replayWindow="00:05:00" inactivityTimeout="00:02:00"
- sessionKeyRenewalInterval="15:00:00" sessionKeyRolloverInterval="00:05:00"
- reconnectTransportOnFailure="true" maxPendingSessions="128"
- maxCachedCookies="1000" timestampValidityDuration="00:05:00" />
- <secureConversationBootstrap />
- </security>
- <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
- messageVersion="Default" writeEncoding="utf-8">
- <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
- maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- </textMessageEncoding>
- <httpTransport manualAddressing="false" maxBufferPoolSize="524288"
- maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
- bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard"
- keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
- realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
- useDefaultWebProxy="true" />
- </binding>
- </customBinding>
- </bindings>
- <client>
- <endpoint address="http://myserver/GAEASSLWcfService/ServiceOverSSL.svc"
- binding="customBinding" bindingConfiguration="myBindingEndpoint"
- contract="IServiceOverSSL" name="myBindingEndpoint" />
- </client>
- </system.serviceModel>
- </configuration>
- <serviceBehaviors>
- <behavior name="<name>">
- <!-- Other options would go here -->
- <useRequestHeadersForMetadataAddress>
- <defaultPorts> <!-- Use your own port numbers -->
- <add scheme="http" port="81" />
- <add scheme="https" port="444" />
- </defaultPorts>
- </useRequestHeadersForMetadataAddress>
- </behavior>
- </serviceBehaviors>