Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Accessing external services form HCP CF beta

$
0
0

Hi all,

 

if been playing around with the HCP Cloud Foundry beta a little. doing so I ran into a little problem.

 

What I try to do is call an external Web service form my app deployed via CF on the HCP. In detail I created a simple Web app in Elixir and Phoenix. From this Web app I'm trying to read data from the HCP IoT services using one of the OData service ("https://iotmmsp<username>trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/app.svc/NEO_C2RX38OZZV5FRLDH344OTBPP2.T_IOT_B957CB9F60C087A144A5?$format=json").

When I execute the app locally on my development machine everything works as expected. However, the same application running on HCP via CF isn't able to connect to the OData service.

 

Are there some additional security restriction that I need to maintain in CF in order to beeing able to connect to external Web service?

 

Christian


Viewing all articles
Browse latest Browse all 3285

Trending Articles



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