on 01-19-2016 12:36 PM
Hi Experts,
I need to use SAP REST Adapter in my interface with GET Operation, i have gone through number of blogs, but all are based on NWDS. But here in my scenario i'm not using NWDS, and i want to GET dynamic Variables from URL and map them with my RFC inputs..
Example : http://<host>:<port>/RESTAdapter/demo/query/customer/26 --- Here 26 is my input parameter in URL, i need to use this in mapping.
Thanks in advance.
Regards,
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Thanks for the inputs, which is almost solved my issue. But the URL attributes values are not refreshing, every time its getting previous values till i refresh CPACache.
Example : URL - http://<host>:<port>/RESTAdapter/demo/query/customer/26 - here 26 is my input parameter value for the first time, if i change it to 27 still system is taking 26 as value in my message attributes.
Regards,
Venu
Venu, can you trace HTTP calls being sent by a client program and HTTP data coming to PI? Can it be assured that it is definitely an issue on PI side and not caching on client side?
In PI, you can enable HTTP trace in ICM or use XPI Inspector trace for a REST sender channel with enabled HTTP provider trace (full dump).
Then please send several HTTP GET requests with various identifiers and check if correct GET requests are sent out by client. On PI side, check collected HTTP traces and see if GET requests content is changed or not.
Regards,
Vadim
Venu,
Would you mind posting screenshots or details indicating where you see correct data (in which monitor?) and where not (here, I understand, adapter specific message attribute that you can check in PIMON Message Monitor, in message attributes or in dynamic configuration attributes display, right?)? Or, can you clarify in which message log you see the correct value? I wouldn't think it to be an audit log of a message in PIMON, since it should indicate values which have already passed through adapter logic, so message audit log shall already contain incorrect value, but please confirm. Is it a message log in a REST client?
Can you please also check if a fix described in a SAP Note 2258139 is applied in your PI system? Symptoms look similar to what you described.
Regards,
Vadim
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
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.