PHP SOAP Error: maximum string content length quota (8192) has been exceeded while reading XML data
- by Sadi
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