on ‎2019 Nov 13 1:54 AM
Hello,
I have built a java API(deployed on SAP Cloud Platform) on and want to display the acquired JSON data to sapui5.
Is there any way that I can call the java API for example, via URL?
Or is it necessary to use OData service?
If the answer is latter, could you guide me how it works or provide some documents for beginner.
I have read the blog https://blogs.sap.com/2016/02/08/odata-everything-that-you-need-to-know-part-1/
but I would like to know what would be the relationship among sapui5, java api and OData service.
I have also read the post below which is similar to my questions but could not figure out how the problem is solved.https://answers.sap.com/questions/10953428/consume-java-api-from-a-sapui5-application.html
Any help would be appreciate.
Best regards
Roan
Request clarification before answering.
Hi Yuning Roan,
could you please tell that java API is on internet or is it on premise API you are trying to consume to SAP UI5?
if Java API is on internet then it should not be difficult.
but if you are trying to consume On premise API to SAP UI5 then you need Cloud connector to expose the service first. for more details you can refer this blog.
rest-service-using-sap-cloud-connector-with-sap-cloud-platform/
Regards,
Ankit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.