cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use a SOAP Header Error text in a BPM?

Former Member
0 Kudos

Hello,

I would like to pick a SOAP header Error text that I have in a BPM, to be able to send it by email in the end.

The error message in question is located in the <SAP:P2> or <SAP:P3> tags from the adapter:

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

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>

<SAP:P1>My error code</SAP:P1>

<SAP:P2>My error message 1</SAP:P2>

<SAP:P3>My error Message 2</SAP:P3>

Does anyone know if there is a way to get this error message as a context object or anything that I could use to raise an exception?

Thanks in advance for your help.

Message was edited by:

Cédric PARIS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I hope it is not possible..

see to access header info ..below link

Regards

Chilla..