on 12-13-2013 7:20 AM
Hi All,
I am using below Odata Model call it is working fine when odate service and my application are in same server.
var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZEGEM_SRV_01/");
When i use below odata Model call it is working in local tomcat server.
var oModel = new sap.ui.model.odata.ODataModel("proxy/sap/opu/odata/sap/ZEGEM_SRV_01/");
Now my question is how to call odata model if odata service form one server and my application form another server.
Thanks in advance
Ravi Varma
Hi Ravi,
check out this blog post. It describes, how you can avoid the "Same Origin Policy" issue, so you can call services from any domains without getting security errors in your browser.
Regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
You'll have to configure Proxy on your NW AS or ABAP Server. the proxy prefix that you are using should not be used in productive systems. Refer to NW AS or ABAP Proxy Configuration Notes on how to do it.
Regards,
Pruthvi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.