Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

how to consume ODATA service in Java client

$
0
0

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:

 

http://xx.xxx.xxx.xx:80xx/PKG_TEST/xsproject1/customer_det.xsodata/customer_det?$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.

 

Regards,

Vishnu


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>