Operation Fails With a "COMException" or "Response too large"

Problem: The operation fails, and the phrases "COMException" and "Response too large" is seen in the WorkflowClient trace log, or on the client.

Explanation: By default, only messages of 1MB or less are allowed.

Solution: To increase the size limit for messages, change the value of the SupMaximumMessageLength context variable for your mobile workflow application. See Sybase Control Center for Sybase Unwired Platform > Deploy > Mobile Workflow Packages > Configuring a Mobile Workflow Package > Configuring Context Variables for Mobile Workflow Packages.