If I have a smaller response, all works as expected.
If the response is bigger, I get the following error:
RemoteException wrapping System.InvalidOperationException: Could not invoke client method. —> RemoteException wrapping System.ServiceModel.CommunicationException: 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.
From the other threads, I have tried adding binding to UiRobot.exe.Config, with no luck.
The error message still says message size = (65536), while the binding I added should show the size to be (2147483647).
Hi @Reddy_Paluri - thank you very much! That worked like a charm - good learning!
EDIT: @Reddy_Paluri - sorry, this is not fixed yet. The issue still remains. There was some thing else going on with the webservice and the response was null. This fell in the small response category and the error didn’t show up. Webservice is up again and so is the error.
Also, it still shows 65536 and not the updated size.
Oh yes, I have been testing this at each step! As mentioned in the topic description and my previous replies, adding to UiRobot.exe.Config doesn’t work in this case.
What else can I try?
Thank you @loginerror! Would you be able to provide any time estimates at this point? I am in the middle of a project and this is a blocker.
Also, I am reasonably sure there are other users as well who use API calls and will be facing this issue. Any alternate way they might be accomplishing this?
I am unable to split the call into multiple calls and therefore unable to reduce the response size.