Hi experts,
We are developing following synchronous scenario: sRFC to SOAP.
In this, XI sends some data to an application and the application sends back the response. No problem so far.
However, this application can throw exceptions that we want to send back to SAP, these exceptions are not part of a message and we can only see them AS AN ERROR IN SXI_MONITOR in the receiver SOAP header, in the error tab, they look like:
"com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:
"
Questions:
Is there any way to get these exceptions from the application and send them back to SAP as if they were the SOAP.response message??
What if we select Keep headers in the receiver SOAP channel?
do we need to create a fault message type and assign it in ID?
Any ideas?
Best regards,
David