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
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions