PHP SOAP Windows: maximum string content length quota (8192) has been exceeded while reading XML dat

Posted by Sadi on Stack Overflow See other posts from Stack Overflow or by Sadi
Published on 2010-04-21T04:22:19Z Indexed on 2010/04/21 4:23 UTC
Read the original article Hit count: 364

I am trying to use bing with PHP SOAP. It works fine for short strings. But for larger string I get following error:

Fatal error: Uncaught SoapFault exception: [a:DeserializationFailed] The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'Translate'. 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. Line 9, position 227. in ........

I am using XAMPP in windows 7. All the solution I found are for .net not the PHP. PHP has no web.config file as far as I concern. Any idea how can I solve it.

Thank you Sadi

© Stack Overflow or respective owner

Related posts about php

Related posts about soap