IBM Support

webMethods Knowlegebase : Entire pipeline is dropped when EXIT is used with error handling code (1714856)

Troubleshooting


Problem

The try/catch setup that's recommended for error handling works very well for standard WebMethods errors. With webService Connectors, though, user found it necessary to create a Branch step to check for and address SOAP-FAULT conditions.

User attempting to perform error handling entirely within a single flow service. They have labeled the try & catch blocks appropriately, and using the label addressing functionality inherent in EXIT to transfer control from the try block to the catch block. To explain the problem in detail have the following example.

Take two scenarios:

(scenario 1)

sequence - try

serviceA

sequence - catch

getLastError call

Where serviceA is just an EXIT $flow SIGNAL failure step.

(scenario 2)

sequence - try

exit - try - signal failure

sequence - catch

getLastError call

In the first scenario, getLastError returns a document with the appropriate pipeline and error information contained in it. In the second scenario, it does not. If signaling failure in both scenarios, shouldn't the getLastError command capture the appropriate error information both times? Please advise on this situation and the reason for this behavior.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

Product Build 6.1, 6.5,7.1, 7.1.1

Document Information

Modified date:
20 March 2025

UID

ibm17218485