Skip to Content
0
Feb 02, 2012 at 05:58 PM

SOAP Fault Header Missing after SOAP Adapter

361 Views

Hello,

we use SOAP Adapter to connect some external Web Services in our integration sceanrio (One Sync Interface: Sender System A -> SAPPI -> External WS), unfortunately in case of application error the soap fault header is missing.

For Exmaple we get following SOAP Fault from external Service:

I find this original SOAP Fault Message form External WS in PI defaulttrace file.

<?xml version="1.0" encoding="UTF-8"?>

http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

xxx:UnknownSSShttp:// xxx:UnknownSSS" target="_blank">xxx.de/interfaces/business-error">xxx:UnknownSSS>

<faultstring>The XXX is unknown on MyServer</faultstring> <faultactor/>

<detail>

http://xxx.de/interfaces/msg/1.0">

<xxx-msg:errormessages>

<xxx-msg:message language=""/>

</xxx-msg:errormessages>

<xxx-msg:errorparameter>

<xxx-msg:parameter>

<xxx-msg:key/>

<xxx-msg:value/>

</xxx-msg:parameter>

</xxx-msg:errorparameter>

</xxx-msg:errorDetail>

</detail>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

The Info from SOAP Header is missing in SAP PI after SOAP Adapter, this cause huge problem for Sender System. Is there any easy way to fix this problem? How could I pass the original soap fault back to the Sender System. At least to get the info back to sender system for further analyse in case of error.

best regards,

Hai