cancel
Showing results for 
Search instead for 
Did you mean: 

Structure of fault message for Soap 1.1 and in PI

former_member185171
Participant
0 Kudos

Hello,

we have to implement a webservice from a provider. We can make the call but we have some problems with the returning errormessages.

The format that is used is this:

<SOAP-ENV:Fault>

<faultcode>0401</faultcode>

<faultstring> ... some text ... </faultstring>

</SOAP-ENV:Fault>

This seems to be conform to W3C SOAP 1.1 as seen on http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383507 .

But the faultmessages that are generated in PI (7.1) have a different layout - the standard ExchangeFaultData. Are there any reasons why this is different? And is there a some way to counter this problem?

I checked a lot of documentation from SDN and SAP and found a lot on the faultmessages but no real background as to why this is the way it is. I need this argumentation to negotiate with the provider.

Thanks a lot.

Kris

Accepted Solutions (0)

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Kris,

>But the faultmessages that are generated in PI (7.1) have a different layout - the standard ExchangeFaultData.

Reflecting SAP fault message format in ABAP stack

>Are there any reasons why this is different?

PI should actually use the standard...

And is there a some way to counter this problem?

> You can map exceptions- same as request or response, pretty easy

Regards,

Udo