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.
Hi Bhaskaran,
will you be able to achieve?I have similar requirement to capture the fault message in SOAP Lookup.
Can you please share the code?
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.