OIC - Create a "fault handler integration" - invoke an integration with a fault object
Content
Hi,
I have some common faults that may arise in different integrations or different scopes of a same integration. The way to handle these faults would be the same everywhere.
Instead of replicating the same steps in each and every involved scope, I'd like to create an integration to handle the faults. That integration would examine the fault and handle it gracefully if it can, otherwise rethrow it.
At the moment, I'm looking specifically at serviceInvocationError faults from the Oracle ATP adapter.
I defined an app-driven integration with a rest trigger.
Problem 1: I defined the payload from scratch as json with each element of the serviceInvocationError. However, I'd rather map the serviceInvocationError directly rather than each of its constituents ! How can I do that ? I suppose I need to have the xml schema of serviceInvocationError, but where do I find it ?