maximum string length quota error consuming WCF webservice from Biztalk.
Posted
by TygerKrash
on Stack Overflow
See other posts from Stack Overflow
or by TygerKrash
Published on 2010-04-16T11:33:35Z
Indexed on
2010/04/16
14:43 UTC
Read the original article
Hit count: 323
I'm getting this error message
"The Maximum string content length quota (8192) has been exceeded while reading XML data. This quotea may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader"
In the one of my orchestrations that consumes a wcf webservice (stacktrace indicates the receive shape is where the issue is), It is likely that the response is very large.
looking at some of the other questions with this error message the solution is to change a WCF bindings setting in the configuration file. However I can't find these configuration settings when I'm using biztalk. They don't seem to be generated anywhere, should I be trying to add them to BTSNTSVc.exe.config.
Any suggestions welcome.
© Stack Overflow or respective owner