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

How to pass data with odata service to a HCP/trial

$
0
0

Hello,

 

I managed to get data loaded from a Raspberry PI to a HANA with an odata service called from within a Python code executed on the Raspberry:

This HANA can be accessed via http.

 

Unbenannt.PNG

 

Now trying the same thing with HCP in the trial developper version, the correspondig access to the HCP HANA has to be with https:

 

Unbenannt.PNG

However unfortunately this does not work that easy. After installing some Python packages as e.g.

 

sudo pip install requests[security]

I got away some messages concerning SSL. But unfortunately this still does not work: I tried with the following two options:

 

1) Access with my real HCP-user (i-user) like with the http-case: Via print r.text I get back the html code of this

 

Unbenannt.PNG

 

2) Anonymous access with .sqlcc file and corresponding .xsaccess file as described in Steve Blum's thread http://scn.sap.com/docs/DOC-58752. Then print r.text gives back error 500:

 

Unbenannt.PNG

 

So unfortunately I think this kind of odata access does not work this way. My question is whether the call of the odata service at this place might be wrong (same screenshot as above):

 

Unbenannt.PNG

 

Regards,

Ingo


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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