on 04-01-2015 9:23 PM
Hi all,
I am currently trying to reach an OData Service that is defined on a basic HANA XS app from a HTML5 application. Both apps run in my HCP Trial Account. Somehow I seem to miss out some last configuration. When the UI5 ODataModel in my HTML5 app sends it metadatacall I get this error-response:
The OData Service on my hanaXS app can be reached with this URL:
I am not sure if this is public exposed, but I can reach it from my PC and it works as intended.
In order to expose this to other apps I created a destination for this service like this:
(This might be already the crucial point as I am not sure if this is the right configuration for this use-case)
In addition I defined this destination in my neo-app.json in the webIDE...
...and after deploying this app to the hcp I can see that it got mapped right there in the required application ressources:
Finally the ODataModel instantiation looks like this:
var oModel = new sap.ui.model.odata.v2.ODataModel("mdService");
But the model calling for data runs into the already described error.
Hope someone can help!
Good morning,
is this option available nowadays on the trial version? If not, is available on the full version? I guess so, but just to confirm
Thanks in advance,
Edgar J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes.. Did you check the workaround described here
Accessing HANA XS O Data in Web IDE and beyond
How to consume a HANA XS service on the HANA Trial landscape
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.