What is the maximum SOAP request size?
Posted on 2004-11-17
I am looking for a clear answer.
In the .NET documentation it states that you can set the maximum request size by using the httpRuntime element in the web.config, and that the default is 4MB.
I have also read in the SOAP SDK that the default maxPostSize is 100KB, and that this is controlled by a registry setting:
The behavior that I am observing would indicate that the SOAP SDK is correct, because as I try to pass a byte array larger than 100K to my web service, I do receive a SOAP exception. So, my question is this...
Can I change this behavior through the web.config? I do not want to allow large posts for the entire IIS web server, just for a specific virtual directory. It would seem that a registry setting will not meet these requirements.
Your prompt reply is greatly appreciated!