on 07-22-2016 6:55 AM
Hi,
we are trying to call a HANA IoT Post service e.g. https://iotmms<user>.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/data/<device>
However, this does not work for us. After following a description in
(here the push to device is described) .
when using the the sap.service.IOT.post of the IOT helper code in WEBIDE we get errors of type:
MLHttpRequest cannot load https://iotmms<user>.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/data/<device>. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://fill-s0002907416trial.dispatcher.hanatrial.ondemand.com' is therefore not allowed access. The response had HTTP status code 401
Although there are some blogs stating that you cannot connect from a local HANATRIAL website to the local HANATRIAL .xsodata services, we wonder whether there is a way for the IoT services to be called locally on the trial landscape.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
after all I got the posting to the IOT services working.
It was somewhat tedious to get the right ingrediences from the different tutorials:
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.