on 08-15-2016 6:26 PM
I created a HANA MDC database. I also created a "system" in eclipse, and was able to create an odata service: https://beneficiaryp1942121719trial.hanatrial.ondemand.com/beneficiary_xs/designationODataService.xs...
(my database gets shut down every 24 hours because this is a trial so you may not see it working)
I would now like to consume the odata in an HTML5 application. I created a QuickStartApplication. If I right-click on the application folder and choose "new=>OData service, I get the following screen
You can see that I have to choose a "system" but there are no options here. Is the "system" the same as what I created in eclipse? If so, why isn't it exposed here?
Thanks,
Moses
Hi Moses,
Can you please share your Destination which you had configured in HCP cockpit (which points to your MDC)
Cheers,
Murali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moses,
In the destination, make the following changes.
URL :https://beneficiaryp1942121719trial.hanatrial.ondemand.com
Authentication: BASIC
User/Password: DB user credentials
Under Additional Properties add the below:
WebIDEEnabled = True
WebIDESystem = MDC
WebIDEUsage = odata_gen,odata_xs
I had earlier written a blog which shows how to consume XS OData service which is on-premise. I didnt add Additional properties in my destinations as I didnt want to use WebIDE templates, but directly consume the destination in my UI5 Application. Hope this help.
Cheers,
Murali
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.