on 01-15-2015 1:35 PM
Dear All,
When consuming REST services from a web-application, the browsers "Same Origin Policy" prevents the execution when the application is hosted on another server than the REST service.
One solution is to use a reverse proxy to handle the different origins.
Another solution is to set the CORS header "Access-Control-Allow-Origin" on the provider side.
We've implemented this in SAP Netweaver GW services where there's an 'SET_HEADER' method available.
I would like to do the same in the PO REST adapter through a custom adapter module.
My question is: is this possible and if so how would I access the http headers from a custom adapter module?
Thanks.
Jan
Hi Jan,
I too have the same issue. Where you able to achieve this ?
If yes, did u write custom adapter module ?
Thanks,
Pragya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.