I have created an OData service using SAP's XS application. The service is working perfectly when I try to access it via browser. When I try to consume it via SAPUI5 application, it gives me CORS error.
I even enabled the cors in the .xsacess file but it still gives me access-control-allow-origin flag error.
I am making use of the trial account and my XS application contains only the OData file i.e.myOdata.xsodata file.
Could anyone please point me to what I am missing.