Skip to Content
0
Nov 25, 2013 at 02:55 PM

On-Premise Back-End Services

27 Views

Hi everybody,

I developed a SAPUI5 application which is currently running on the trial version of HANA Cloud Platform. I have also an oData Service which has been created via Netweaver Gateway Service. What I want to do now is to access this oData in my SAPUI5 application. I've already created for the app on HCP a destination and have already made the mapping of the virtual system to the internal system on the HANA Cloud Connector. Worked well. Now is the question how do I access the destination out of my SAPUI5 application?

var myModel = new sap.ui.model.odata.ODataModel("?????", false);

I've already read something about a ProxyServlet and configuring the web.xml file but I couldn't find further details. Has anybody of you done this before?

Looking forward to your answers.

Greetings