WCF Integration - Message Size Exceeded?

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:

    1. MaxArrayLength: the maximum length in bytes of an array that should be accepted in a message returned from the service.
    2. MaxNameTableCharCount: the maximum number of characters in strings that are atomized in the XML NameTable
    3. MaxReceivedMessageSize: the maximum number of bytes that should be accepted in a message returned from the service.
    4. 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...

    [img]http://content.screencast.com/users/erin-madsen/folders/Default/media/cf5760c4-217c-49a6-aed6-cc66490fe695/Basic Binding circles.png[/img]

    ... 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]

Sign In or Register to comment.