WCF Maximum message size quota exceeded problem - Guru needed
- by Rire1979
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.
Let me begin by saying that I can fix the problem by increasing the size of MaxReceivedMessageSize and the appropriate buffer. However it looks to me that this solution is not ideal because it's impossible to establish an upper bound to the size of the message as data changes daily. Setting it to the maximum size of two gigs feels like the wrong approach ...
It may matter... or not: I'm using the MSN ad center API v6.
Can an experienced WCF professional confirm this is indeed the approach we'll have to make do with? Is it as bad as it looks?
Thank you.