on 09-18-2014 8:28 AM
Hi Experts,
I have been facing an issue in the mobile web application where the UI files(cordova project) are loaded from the a server other than gateway server and from within the application I am calling the oData services so I am facing the SOP issue but if I disable web security on client(Browser while testing) than everthing works fine. During hosting part of the applcaition I have hosted on a public server and client doesn't have any reverse proxy in place they directly connect through public IP or VPN(desktop) so my UI loads properly on the client browser as the hosted application url is http://myhostedserver:8088/index.html (IIS as web server) but when I give any requests to the oData services like http://mygatewayserver:8000/sap/ from files within the hosted application it rejects due to same origin policy. Is there any possible work around to keep the UI files same as data services? any help will be greatly appreciated.
Regards,
Fenil Doshi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
I think the headers should be added in the following class (screen shot for reference) , I wanna keep this as last solution apart from this any other solution which you can suggest as I dont want to edit the BEP class files. Correct me if I am wrong when I inculde the headers in that class all the services will take that as references, am I right?
Thanks for your reply.
Regards,
Fenil Doshi.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.