on 08-27-2018 8:00 AM
Hi,
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 'https://domain.com:PORT' is therefore not allowed access.".
I checked the domain(https://domain.com:PORT) 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 :"http://www.saplearners.com/how-to-consume-hana-xs-odata-service-using-sap-netweaver-gateway/" 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.
Hi,
The ABAPer guy created a CDS view based on the HANA views and I created a oData service on it and now its working on the launchpad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need web dispatcher to redirect the call to hana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the reply! I was searching for the solution while I just found a guide stating exactly what you have suggested here and found the note 1855097 as a configuration guide for XS Engine. I have sent the note to the basis team. As I could not understand much from the note, for my clarification: Why do we need to configure the dispatcher for XS Engine separately? Is it the correct note to follow?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.