You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a way to parse the fault details from an invoked integration?

Received Response
15
Views
2
Comments
edited Aug 10, 2020 3:14AM in Integration 2 comments

Summary

Parse the fault details from an invoked integration

Content

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!