cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 500 + FAULT - what is the best way to deal with in a BPE?

Former Member
0 Kudos
52

Symptom

When calling a service through a SOAP call in PROXY TO SOAP interface (Assync/ Sync) using BPE

1 - SAP ECC -> ASSYNC -> SAP XI/ PI -> BPE (SYNC) -> Bus Service (ORACLE)

2 - SAP ECC <- X <- SAP XI/ PI -> BPE (SYNC) <- HTTP 500 <- Bus Service (ORACLE)

X - BPE doesnu2019t deliver to error at SAP ECC cancels the flow to avoid SYSFAIL

Note

What is the best practice in this case to return the error to the ECC?

1 u2013 It develops an ABAP program to read the database XI/ PI response in search of the Payload (fault).

2 u2013 It tries to map the exception and continue the flow even with HTTP 500

3 - It is possible to map http500 + fault (BPM)?

regards

Ronaldo

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

try to catch the exception in each of the steps (i.e Send, transform etc).

you can then do the require handling in the exception branch.

One way is to catch the specific exception and create a generic transformation step within the exception branch to send the message out to the sender.

Former Member
0 Kudos

Hi Shabarish Vijayakumar,

1 -I can not be a transformation of the generic Exception class to send the message to the sender.

2 -In this scenario one must read the attached Payload fault + error htt500

Proxy to Soap (Assync / Sync) BPM...

The problem is to read fault Payload .attached ...

Regards

Ronaldo de Moraes

Former Member
0 Kudos

Hi

In an integration between SAP ECC and a legacy system (CRM-System not SAP) was used PI SAP and Oracle solution (ServiceBuss)

SAP ECC -> SAP PI -> SERVICEBUS -> CRM

ABAP PROXY TO SOAP (ASSYNC/ SYNC)

Symptom

When the IP receives a response from the service consumed an error HTTP500 flow is terminated, but without being able to treat. For example, reading the payload attached to the error and returned the same to the ECC

Doubts

Is it possible manipulate the contents of the exception received from the service consumed (http500)?

I made some attempts, but without much success!

Regards

Ronaldo de Moraes

Former Member
0 Kudos

Hi,

Note Business Scenarios

Link: [http://cid-37fb84e6f2d92854.office.live.com/view.aspx/.Public/SCENARIO%20%20INTERFACE%20%20PROXY%20TO%20SOAP%20%20ASYNC.doc]

Regards

Ronaldo de Moraes

former_member200962
Active Contributor
0 Kudos

I am doubtful if the normal SOAP protocol will be useful in your interface....you can check this blog for more details:

/people/alessandro.guarneri/blog/2011/01/10/soap-fault-in-sap-pi-hijack-it