cancel
Showing results for 
Search instead for 
Did you mean: 

REST Sender adapter Response Code and headers

former_member198060
Participant
0 Kudos

Hi all,

I have been working with the REST sender adapter lately on a 7.5 with a current SP and have stumbled upon two questions:

1) Regarding the REST sender with Polling

Is there any possibility to access HTTP header fields which come back with the REST call? According to the documentation they should be accessible similar to the HTTP header fields in the REST receiver adapter where they are being written into XI headers in the REST namespace, but that is not the case. I have tried with two seperate PO systems and the behaviour seems to be the same.

2) Regarding REST sender adapter with QOS = EO

In an async REST sender scenario usually the sender would retrieve back an HTTP 202 from PI. Is it possible to change the HTTP Header to for example HTTP 200 somehow? I have tried to achieve it with the error handling by setting the rule "always HTTP header = 200", but it does not seem to work with QOS = EO. The error handling seems to be ignored in this case.

Any ideas or inputs would be appreciated!

Accepted Solutions (0)

Answers (1)

Answers (1)

Tomas
Explorer
0 Kudos

Hello Peter,

How did you solve the http code change?

Tomas