Skip to Content
author's profile photo Former Member
Former Member

Handling Fault Responses in a synchronous SOAP interface in PI 7.11

Hi experts,

I do not find too much about handling of SOAP Faults in SAP PI and I do not understand the implementation of that in PI.

I have a following situation:

I’m using already prepared web service, that handle SOAP messages and in some cases this web service returns Fault responses containing business error codes. For example:

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">




<faultstring>ERROR (380)</faultstring>


<ns1:hostname xmlns:ns1="">*******</ns1:hostname>





The problem is, that in PI Fault payload I see only <ns1:hostname xmlns:ns1="">*******</ns1:hostname>.

The real error code is in <faultstring>ERROR (380)</faultstring>, but I have no access to it. It looks like that SOAP adapter takes all SOAP 1.1 default elements and swallow them.

How can I access all these elements to be able to map them back?

Thank in advance for your answers,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 25, 2016 at 01:24 PM

    Hello Ianko,

    Check the below links and see if it helps(Try the mapping as per the links)

    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Raghuraman S

      Hi Raghuraman,

      you answer shows me the way to get this "technical" element, which actually contains business answer, in the payload and to use it. This was my question.

      The answer from Eng is very helpful because otherwise the other in the team do not believe me when I tell them that PI normally doesn't show such elements 😊

      Thank you both,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.