Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to consume ODATA service in Java client

hi Team,

I created an ODATA service and in which I exposed a calculation view which gives the City details if we input the Customer Id into it.

the following is the URL which got estabilshed:$format=json&$select=CUSTOMER_ID,CITY&$filter=(CUSTOMER_ID eq 1)

My questions are:

1)how can we call this URL from a JAVA client?

2)for testing from a JAVA client, can I use the JAVA perspective of HANA Studio?

3)if point(2) is yes, then how can create a JAVA application and what are the necessary JAR files needed to run this application?

4)if point(2) is yes, how can I ensure that JAVA perspective is pointing to JRE which is installed on my system?

please provide inputs on the above points to proceed further in the development.



Not what you were looking for? View more on this topic or Ask a question