If you're trying to implement webservice in your app and getting
following error message:
The maximum string content length quota (8192) has been exceeded
while reading XML data. This quota may be increased by changing the
MaxStringContentLength property on the XmlDictionaryReaderQuotas
object used when creating the XML reader.
...it indicates that the content(xml) you're getting back from
the service, cannot be saved into string variable as it exeeds
string object content limit.
In order to fix the issue, you need to increase
maxStringContentLength property in web.config.
You'll find that property on configuration ->
system.serviceModel -> bindings -> basicHttpBinding
-> binding -> readerQuotas node.
Tagged: SOAP
web service
web.config