cancel
Showing results for 
Search instead for 
Did you mean: 

How to check HTTP response code

thorsten_hautz
Participant
0 Kudos

Hi,

we have the following scenario:

HTTP -> PI -> HTTP

So it's easy to use HTTP or SOAP-adapter here.

But we have to inform the sender of the message immediately about the successfull delivered message.

So we have to check if response code 200 was sent from the receiver of the message and inform the sender about this.

I can't find any possibility how I can check this in PI 7.1 (neither by using HTTP adapter nor by using SOAP-adapter). There is no acknowledgement mechanism (I can't find any).

Does anybody know how we can solve this?

Thanks for your replies.

Regards

Thorsten

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Is your scenario using BE (sync) mode ?

Rgds

Chris

thorsten_hautz
Participant
0 Kudos

Hi Chris,

no our scenario is an async scenario.

Regards

Thorsten

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

If the response has to travel from Receiver to Sender then you have to make use of SYNC mode of processing or use a BPM.

In Async flow the Sender will get a HTTP 200 OK response from the sender adapter of SAP XI/ PI.

Regards,

Abhishek.

thorsten_hautz
Participant
0 Kudos

Hi,

thanks for your answers.

Then I think we have to use BPM here, cause we can't create a sync scenario.

Regards

Thorsten

stefan_grube
Active Contributor
0 Kudos

You can use BPM for this scenario.