Hi,
I have imported a maven project in eclipse and have run this using local jetty server. The project has code which uses odata4j library and exposes a sample northwind OData service using JPAProducer API.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Currently my laptop acts as a server and hosts this OData service. I have added a setting in HANA Cloud Connector for my localhost and also setup a destination for the same in HANA Cloud Cockpit. While configuring the destination URL, I gave the value as http://java:8002. However, when I go to WebIDE and after I select a template (Master-Detail), I am unable to get to this service.
Image may be NSFW.
Clik here to view.
When I opened the console, I could see it is trying to construct a URL as below
https://webide-<myaccount>trial.dispatcher.hanatrial.ondemand.com/destinations/JAVA/sap/opu/odata/Northwind/Northwind.svc/$metadata
However, if I change the URL to something like below (removing /sap/opu/odata), it works.
https://webide-<myaccount>trial.dispatcher.hanatrial.ondemand.com/destinations/JAVA/Northwind/Northwind.svc/$metadata
So the wizard add /sap/opu/odata by default. How do I proceed. Is there any work around ?
Thank you.
Salim.