WCF Integration - Message Size Exceeded?
Comments
-
I am integrating with a WCF service that works most of the time, but today Im getting an exception that the return message exceeded the size limits.
How do I fix this? -
Hello!
Sorry youve run into this problem. Chances are, the maximum received message size in your binding is too low.
When communicating with a WCF (Windows Communication Foundation) service, Decisions must establish a binding which defines limits and expectations for how the service should interact. These settings include:- MaxArrayLength: the maximum length in bytes of an array that should be accepted in a message returned from the service.
- MaxNameTableCharCount: the maximum number of characters in strings that are atomized in the XML NameTable
- MaxReceivedMessageSize: the maximum number of bytes that should be accepted in a message returned from the service.
- ReceiveTimeoutSeconds: the maximum time in seconds that Decisions will wait for a response from the WCF service.
You can increased the MaxReceivedMessageSize in the Flow Designer by selecting the step that calls your WCF service and, in the [b]Properties[/b] panel, under [Settings], opening the Basic Http Service Binding Definition...
... and editing your binding settings in the pop-up binding editor:
[img]http://content.screencast.com/users/erin-madsen/folders/Default/media/e24b2aa9-ea0f-42b5-986e-41f521960ce0/binding editor.png[/img]
[i]edited by colin on 10/29/2015[/i]