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]
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8