title: The maximum string content length quota (8192) has been exceeded while reading XML data
body: <p>I have no trouble retrieving a large amount of data, but sending it back to the service displays this error.</p>
  
  <p>The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter <a href="http://tempuri.org/:response" rel="nofollow">http://tempuri.org/:response</a>. The InnerException message was 'There was an error deserializing the object of type System.String. 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.</p>
  
  <p>Here is what I have on the WCF service (server):</p>
  
  <pre><code> &lt;bindings&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding name="BasicHTTPEndpoint" maxBufferSize="2147483647" maxBufferPoolSize="524288" 
               maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
               useDefaultWebProxy="true"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
        maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /&gt;          
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;client&gt;
    &lt;endpoint address="http://192.168.1.99/Service/SerializerJsonService"
              binding="basicHttpBinding" bindingConfiguration="HandleLargeMessage"
              contract="XMLService.IXMLReader" name="BasicHTTPEndpoint" /&gt;
  &lt;/client&gt;
  </code></pre>
  
  <p>and the servicereferences.clientconfig:</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;system.serviceModel&gt;
      &lt;bindings&gt;
          &lt;basicHttpBinding&gt;
              &lt;binding name="BasicHttpBinding_ISerializerJsonService" maxBufferSize="2147483647"
                  maxReceivedMessageSize="2147483647"&gt;
                  &lt;security mode="None" /&gt;
              &lt;/binding&gt;
          &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;client&gt;
          &lt;endpoint address="http://192.168.1.99/Service/SerializerJsonService.svc"
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISerializerJsonService"
              contract="YelpService.ISerializerJsonService" name="BasicHttpBinding_ISerializerJsonService" /&gt;
      &lt;/client&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p></p>