Last post Oct 20, 2017 05:24 PM by DA924
Oct 20, 2017 12:11 AM|PraveenAmar|LINK
I am new to Rest web services & trying to figure out. I created a client application by consuming web service , loop through a list object that has around 500,000 items & call API for each record. Here is the error message i got & i know i need to change MaxReceivedMessageSize
in app.Config file but i am trying to figure out what this message actually means??
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.
Oct 20, 2017 01:50 AM|DA924|LINK
The incoming message size being exceeded, the default size is 65, 536 kb, is the client that is sending the data to the service, and the service is blowing up on the transmission of data being sent to the service that exceeds its default value.
Oct 20, 2017 02:10 PM|PraveenAmar|LINK
Thanks for the explanation, data i am sending to service is a small XML string but i guess since i am looping through large set of data and making an API call is causing the problem. What's the advisable size??
Oct 20, 2017 05:24 PM|DA924|LINK
Most would just set it to the max value, which you will have to look it up as to what that number is.