cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture HTTP response message

SudheerJ
Participant
0 Kudos

Hello,

In our process we receive a cXML document via http(Scenario HTTP <-> XI -> R/3). According to the cXML specification we need to send a response xml back to the sender. This response needs to specify if the xml was well received or not and must be sent back in the http response of the original http request in a specific format.

How can we put this into XI? As a response is sent out via the adapter. Can we enhance the http adapter in some way for this behaviour or how can i capture the response code and status from the http adapter.

Thanks in advance!!

Greetings,

Sudheer

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member732072
Active Participant
0 Kudos

Hi Sudheer,

Please have a look at the following link and see if it helps.

Best Regards

madanmohan_agrawal
Contributor
0 Kudos

Hi Sudheer,

Use Synchronous Sender HTTP adapter.

It will solve your problem.

Inorder to do Synchronous communication, in the http client , you need to give Quality of Service as BE i.e Best Effort. If so, then it will act as a Synchronous call. As usual you need to have Http Req and Resp data structure to handle this

Regards,

Madan Agrawal

SudheerJ
Participant
0 Kudos

Hi Madan,

Thanks for the response.

As you said i already have the request/response data structure. But how to capture the status code from the adapter and put it into the response message which i am sending to my sender.