on 11-05-2014 4:08 PM
Hi,
I'm new at HTTP communication in PI and I have the following scenario in SAP PI 7.1:
HTTP - PI - HTTP
PI receives a message from an external server and delivers to an external client.
The communication is synchronous and both adapter types are HTTP, the sender and receiver channel have the following configuration:
fig. 1 - sender configuration
fig 2 - receiver configuration
When the client receives the sent message, he processes it and sends the response as an calculated header field, as shown in the following image:
fig. 3 - synchronous response received when server consumes directly the client server via "Poster" Mozilla Add-on)
But if I send the message via PI, I don't receive this header in the response:
fig. 4 - synchronous response received when server sends the message through PI via "Poster" Mozilla Add-on)
How can I obtain the header field "X-XPTO-STATUS" that is sent by client and send it to the server as a header field also?
If you can point me the direction I'll be grateful.
Thank you in advance.
Sandra
Hi Sandra,
Please try using the Request/Response bean in the sender module. It will help in receiving the response.
Kindly check below links and configure same as that;
Using Request Response Bean Module in FILE Adapter - Process Integration - SCN Wiki
The scenarios might be different here but you can have the same config , suggest to use a file place holder to save your response.
Thanks and Regards,
Murugavel Singaravel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to save HTTP header fields from the synchronous response in the XI message header, chooseHTTP Header Fields (Synchronous Response) and enter the fields in the fields Field 1 to Field 6.
The fields must have the same names as the fields that are also to be sent in the HTTP response.
The technical names of the fields are HeaderFieldOne,...,HeaderFieldSix.
The attribute namespace for the adapter is http://sap.com/xi/XI/System/HTTP.
Source: SAP Help Potal
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.