How to set properties of binding elements?

Topics: Web Api
Feb 18, 2011 at 1:09 PM

Hi,

I'm trying to process a large request and I'm running into this 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.".

I have seen this when working with SOAP, and I'm used to setting these in the binding configuration. How do I get access to this property in the Http framework?

Thanks

Mario

Coordinator
Feb 18, 2011 at 4:35 PM
It is a bug. There is a post on these forums with a code fix. I will send it when I get in, but search the forums for the error.

Sent from my Windows Phone

From: mdesousa
Sent: Friday, February 18, 2011 5:10 AM
To: Glenn Block
Subject: How to set properties of binding elements? [wcf:246622]

From: mdesousa

Hi,

I'm trying to process a large request and I'm running into this 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.".

I have seen this when working with SOAP, and I'm used to setting these in the binding configuration. How do I get access to this property in the Http framework?

Thanks

Mario