Skip to Content

How to capture Soap Fault Message Response

Hi Experts,

We have a requirement where we need to capture the fault soap message response while doing a soap lookup. The Webservice do not have a default fault message defined in the the wsdl. When we test the same in SoapUI tool (for error data), we have a sample fault message returned from the Webservice. But the same fault message is not getting captured in PI mapping

Actually, we are using java code for soap lookup and the response is returned as a string to a single field in the target structure (so we don't need to worry about the structure of successful response and faulty response i guess)

Kindly share your thoughts.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 03, 2016 at 07:03 AM

    Hello,

    How is the SOAP Fault being triggered from the Webservice?

    Is it with a tag called <Fault> within your SOAP Body as seen in the below screen shot .If yes, define a Fault Mapping with this structure and then when the fault is triggered, the Fault Mapping will be called.

    Add comment
    10|10000 characters needed characters exceeded