on 02-02-2017 3:30 PM
Hi,
I have created a simple ui5 app in Hana Studio which accessing data from odata service url (created in hana) and displaying data in table format. It works fine in hana repository.
Now I have deployed the app in SAP Fiori Gateway server; but now the app is unable to access the odata service.
Error message is
GET https://qashsuecdb001.lex.lexmark.com:4314/avdutta/delivery.xsodata/$metadata 403 (Forbidden)
My Hana environment is SPS11.
Please let me know what is configuration I am missing. I need a solution which will work irrespective of browser; also will work when I will transport the components to production environment.
Please help.
Note: My .xsaccess file is
{ "exposed" : true, "authentication" : { "method": "Form" }, "cache_control" : "must-revalidate", "cors" : { "enabled" : true, "allowMethods":["GET","POST","HEAD","OPTIONS"], "allowOrigin":["https://mgx.lexmark.com"], "allowCredential":true, "exposeHeaders": "access-control-allow-headers,access-control-allow-origin,access-control-expose-headers,authorization", "allowHeaders":"Origin, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control", "maxAge":"3600" }, "enable_etags" : false, "force_ssl" : false, "prevent_xsrf" : true }
Can someone please help me out.
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 | |
7 | |
6 | |
5 | |
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.