Note that there are some explanatory texts on larger screens.

plurals
  1. POSending large XML from Silverlight to WCF
    text
    copied!<p>I want to send a big XML string to a WCF SVC service from Silverlight.</p> <p>It looks like anything under about 50k is sent correctly but if I try to send something over that limit, my request reaches the server (BeginRequest is called) but never reaches my SVC. I get the classic "NotFound" exception.</p> <p>Any idea on how to raise that limit?</p> <p>If I can't raise it? What are my other options?</p> <p>Here's my binding configuration</p> <pre><code>&lt;bindings&gt; &lt;customBinding&gt; &lt;binding name="customBinding0" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"&gt; &lt;binaryMessageEncoding&gt; &lt;readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" /&gt; &lt;/binaryMessageEncoding&gt; &lt;httpTransport/&gt; &lt;/binding&gt; &lt;binding name="customBindingSecure" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"&gt; &lt;binaryMessageEncoding&gt; &lt;readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" /&gt; &lt;/binaryMessageEncoding&gt; &lt;httpsTransport/&gt; &lt;/binding&gt; &lt;/customBinding&gt; &lt;/bindings&gt; </code></pre> <p>Edit: More details : If I break in the Global.asax Endrequest, I see in the Response "Bad Request 400"</p> <p>Edit: More details again : I activated the Trace and I can see the following error : The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.</p> <p>However, my maxReceivedMessageProperty is already set to 2147483647.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload