Skip to Content
Aug 27, 2018 at 07:00 AM

How to deploy UI5 app on launchpad with XSOdata service connecting to HANA DB?

402 Views Last edit Aug 27, 2018 at 07:06 AM 3 rev


I need to develop a UI5 app with XSOdata service and deploy it to the client's launchpad. We have created and exposed the XSOdata service successfully. The app is running fine when deployed to HANA cloud platform from webide. Now when I deployed it to the gateway, its showing "no data" on launchpad with error "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.".

I checked the domain( of the HANA system from where the XSOdata is coming and its showing "XSEngine is up and running" but when it is done with the gateway url where launchpad is running its giving "404 not found".

Then I followed the link :"" and tried to create a RFC connection from frontend i.e.gateway but its not showing the XSOdata service on the system alias.

Now I want to know do I need to create an odata service on gateway or it can redirect when the call is needed to connect to the HANA system?

More specifically the role that the Cloud Connector is playing in webide should be performed to pass the authorization parameters when the app is deployed on gateway too by RFC or something else isn't it? Please guide me to end to end deployment and prerequisites to deploy UI5 app with XSOdata on client's launchpad.