Hi!
I want to send a big XML string to a WCF SVC service from Silverlight.
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.
Any idea on how to raise that limit?
If I can't raise it? What are my other options?
Here's my binding configuration
<bindings>
<customBinding>
<binding name="customBinding0" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
<binaryMessageEncoding>
<readerQuotas
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxDepth="2147483647"
maxNameTableCharCount="2147483647"
maxStringContentLength="2147483647" />
</binaryMessageEncoding>
<httpTransport/>
</binding>
<binding name="customBindingSecure" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
<binaryMessageEncoding>
<readerQuotas
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxDepth="2147483647"
maxNameTableCharCount="2147483647"
maxStringContentLength="2147483647" />
</binaryMessageEncoding>
<httpsTransport/>
</binding>
</customBinding>
</bindings>
Edit: More details : If I break in the Global.asax Endrequest, I see in the Response "Bad Request 400"
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.
However, my maxReceivedMessageProperty is already set to 2147483647
Thanks, Alex