Clients are calling my WCF method with too big xml (about 30mb when saved to a file) and IIS is returning 413. I tried setting the uploadReadAheadSize to 2gb; didn't work. Also tried increasing the binding's maxBufferSize to 2gb.
My WCF service is hosted on load balancer with couple of servers; I couldn't test isolated due to certificate validations in place. The thing I didn't try is Negotiate client certificate, which we don't want to change considering the broad consumers of other services.
With the default 48kb for uploadReadAheadSize, I was able to test 7mb sized xml string and it worked. All the findings on stack overflow / google show uploadReadAheadSize should fix it.. I am not sure what am I doing wrong. The client could be non .net client, which I have less control over.