on 01-04-2018 12:22 AM
Dear Community,
We have a requirement where a third party system wants to send various messages to our SAP PO's REST adapter (same endpoint). The message contains a header element and payload. Based on the value of that header (eg., id = 1 or 2 or 3), we need to select the correct REST channel. In the REST channel, currently we can only filter by JSON Element, XPath Element and HTTP operation. I don't see any option to filter by HTTP Header.
I followed the following blog and saw someone has posted a similar question on this topic:
https://blogs.sap.com/2014/12/18/pi-rest-adapter-same-endpoint-for-multiple-integration-flows/
If someone has had a similar requirement and found a workaround, please let me know.
Thansk in advance.
Regards,
Prasanna
hi,
you can have a dummy scenario as first ICO before calling the original channels.
In the first ICO ,you can read the header parameters (using dynamic configuration) into a temporary payload and route the message to the original end point from where you can use "XPath" option as tyou have already payload with Header Values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.