title: "The 'maximum bytes per Read operation' quota (4096) has been exceeded while reading XML data. Long element start tags may trigger this quota
body: <p>This is my app.config-></p>
  
  <pre><code>&lt;bindings&gt;
         &lt;basicHttpBinding&gt;
           &lt;binding messageEncoding="Mtom" /&gt;
        &lt;binding name="requestPTPDocumentForInvBasketSchemaSoap11" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
        allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
        maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
        messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
        useDefaultWebProxy="true"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="409600"
          maxBytesPerRead="409600" maxNameTableCharCount="16384" /&gt;
        &lt;security mode="None"&gt;
          &lt;transport clientCredentialType="None" proxyCredentialType="None"
            realm="" /&gt;
          &lt;message clientCredentialType="UserName" algorithmSuite="Default" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
    &lt;customBinding&gt;
      &lt;binding name="CustomBindingEndPoint"&gt;
        &lt;textMessageEncoding messageVersion="Soap11WSAddressing10" /&gt;
        &lt;security defaultAlgorithmSuite="TripleDesRsa15" authenticationMode="MutualCertificate"
          securityHeaderLayout="Lax" includeTimestamp="false" messageProtectionOrder="SignBeforeEncrypt"
          messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10"&gt;
          &lt;issuedTokenParameters keyType="AsymmetricKey" /&gt;
          &lt;localClientSettings detectReplays="false" /&gt;
          &lt;secureConversationBootstrap /&gt;
        &lt;/security&gt;
        &lt;httpTransport maxReceivedMessageSize="2147483647" /&gt;
      &lt;/binding&gt;
    &lt;/customBinding&gt;
  &lt;/bindings&gt;'
  </code></pre>
  
  <p>The error i am getting is ->{"The 'maximum bytes per Read operation' quota (4096) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 5305."
  While consuming JAVA web service i am getting the above error.Please advice</p>