Tuesday, October 5, 2010

Binding settings (long messages)

One of the service's operations sends a pretty long response message, using the defaults settings will result in an exception.

To fix this, update maxBufferSize and maxReceivedMessageSize to a greater value (they both default to 65536) in the client.

< name="longHttpMessages" maxbuffersize="2147483647" maxreceivedmessagesize="2147483647">


No comments: