This post is specific to WCF. I suspect that you are calling your ASMX service through a WCF proxy (client class inherits from ClientBase ). A typical ASMX proxy, on the other hand, inherits from SoapHttpClientProtocol .
The trick is that if you just added a service link in Visual Studio, a WCF-like proxy is created by default. To create an old type proxy server, you must click "Advanced" in the proxy creator's dialog box and then "Add a service link" in the advanced properties dialog box or call the wsdl.exe tool from the command line.
A proxy created in the "old" has no message quotas.
However , using legacy ASMX technology for both server and client is not recommended .
source share