cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

consume data from java api to sapui5

2,541

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

View Entire Topic
former_member273190
Participant
0 Likes

Hi Ivan,

Let's say i need to get data from a public API but i don't need to expose the whole URL directly on javascript code in my app and also for security purposes because i won't use SCP, just on premise and the custom app into Fiori launchpad.

In this case, is it possible to configure into neo-app.json and manifest.json and use it without SCP?

BR,

Maurício