Is there a way to parse the fault details from an invoked integration?
SummaryParse the fault details from an invoked integration
I have two integrations where one integration is invoked by the other in a scope.
In case an error is encountered in the invoked integration, a fault is thrown. This will then be received by the calling integration's fault handler. From the calling integration's fault handler, I'm trying to access the fault details but it seems that the fault thrown by the invoked integration is wrapped in a generic fault message (sample is attached).
Is there a way to parse the details?
I'm only interested on the <errorCode>, <reason>, and <details> values from the parameters. I'm thinking of parsing it as XML but the wrapper doesn't look like it's in XML format. Any recommendations? Thanks