We have got a normal WCF service which has a binding that looks like this:
<wsHttpBinding>
<binding name="ServiceBinding" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxReceivedMessageSize="20971520"
messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<security mode="Message">
<message clientCredentialType="Windows" negotiateServiceCredential="true"
establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
this service sits in 2 servers behind a load balancer. As suggested here
http://msdn.microsoft.com/en-us/library/vstudio/hh273122(v=vs.100).aspx
I have set establishSecurityContext to false. When i run call the service i get intermittent issues related to invalid security context token. Even though i say not to establishSeurityContext it seems that WCF is doing all the normal handshake stuff.
At this point of time using Cert, BasicHttBinding or no security is not an option because of the requirement.
I have even got the infrastructure team to enable sticky sessions in the load balancer but nothing seems to work the way we expect it to.
Me and my team has done almost everything that has been said in the internet but nothing seems to work when there is a load balancer and this binding is working perfect when there is not load balancer.
Has any one got luck with this binding?
We are chasing Microsoft to send us the WCF expert but apparently folks are hard to get hold of.
How can i get this thing to work nicely with Load Balancer?