Skip to Content
0
Former Member
Mar 05, 2013 at 01:15 PM

Axis adapter receiver handle fault message

322 Views

Hi

We have a Sync interface which makes a Proxy call from ECC to PI 7.3 and then PI makes Soap(Axis) Sync call to Web sevice. We are having issues when handling SOAP 1.2 fault message.

Below is the actual fault response from Webserver:

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header/>

<env:Body>

<env:Fault>

<env:Code>

<env:Value>env:Receiver</env:Value>

</env:Code>

<env:Reason>

<env:Text xml:lang="en">FaultMsg</env:Text>

</env:Reason>

<env:Detail>

<ns2:servicefault xmlns:ns2="https://hostname.de/webservice/0400-0005">

</ns2:servicefault>

</env:Detail>

</env:Fault>

</env:Body>

</env:Envelope>

But PI receives this response like system error:

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

- <!-- Inbound Message

-->

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: FaultMsg</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I checked this way http://scn.sap.com/thread/1675917 but it doesn't fit for Axis adapter.

Please let me for any clues how to handle this fault response.

Regards, Dzmitry