cancel
Showing results for 
Search instead for 
Did you mean: 

Handling SOAP Receiver Exception when Third party web service is down in SAP PO

0 Kudos

Hello Experts,

Need help with the following scenario.

We have ECC to PO to Third Party Synchronous scenario (SOAP to SOAP).

The interface works well with success cases, and response is sent back to the sender ECC system and records are updated as success.

Now in some cases, especially when the receiver party is down (500 internal error), the message gets failed in SAP PO and no response is sent back to SAP ECC. In such cases, we have the requirement to handle such exception and send back some appropriate response back to SAP ECC so that the response can be recorded in the system.

Can any one help with some simple steps to handle above case? Have thought of using Fault message type but I'm not sure if that would work in this case. Also tried to make a demo interface to test the same but maybe I didn't follow the right steps to implement the SOAP fault scenario. If this is the solution, do we have any latest demo/blogs present anywhere on web so that I can follow the right steps to implement the scenario? I came across few blogs and SAP help page but not getting exact step by step process to implement the same.

Your help would be much appreciated..

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

JaySchwendemann
Active Contributor
0 Kudos

Here's my 2c / questions / suggestions

  1. You are speaking of Soap to Soap. Does that mean ERP (ABAP Proxy) --> PI --> 3rd Party (Soap)?
  2. If so, and you are synchronous, an HTTP 500 timout will result in a system exception of said proxy implementation
  3. SoapFault will only come into play when the 3rd party server really produces an SoapFault error response. Due to some unworldly design decissions along the way of PI, only an HTTP 500 with an Soap Fault including an "detail" node will result in an application error, all else will result in a system error, see https://launchpad.support.sap.com/#/notes/856597
  4. You could quite easily mock your fault response using SoapUI, see e.g. https://www.soapui.org/docs/soap-mocking/service-mocking-overview/ + https://www.soapui.org/docs/soap-mocking/reference/mockresponse/
  5. You will hardly get the right step by step solution to your problem in a forum / community. That's something professional consulting will happily take money from you to provide you with 😄

Cheers

Jens