Skip to Content
0

Iot-Java-App in Web IDE with Destinations

Oct 27, 2017 at 12:18 PM

153

avatar image

i'm trying to build i ui5 to show the data received by 3 devices from the same type that i created in the Internet of Things Service Cockpit.

i created 2 destinations iotmms and iotrdms as shown below.

https://iotmms(User)trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/app.svc/

odata_abap,ui5_execute_abap,dev_abap,odata_gen


https://iotrdmsiotservices-(User).hanatrial.ondemand.com/com.sap.iotservices.dms/api/

odata_abap,ui5_execute_abap,dev_abap,odata_gen

but i still can't use them in the web IDE

and i get the problem shown below.

what am i doing wrong ?

thanks,

Nabil fadel.

iotmms.png (21.2 kB)
iotrdms.png (22.0 kB)
ide-iotmms.png (18.6 kB)
ide-iotrdms.png (22.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Anton Levin
Oct 28, 2017 at 05:14 AM
0

Hello Nabil,

not quite sure what exactly you want to achieve when setting all possible values for the WebIDEUsage property [1] and trying to consume both iotmms and iotrdms destinations from the Template Application wizard.

1. iotmms - yes, it exposes OData API [2] and you specified the full url to the service endpoint ../app.svc. Then, according to [1], your WebIDE* properties should be:

and in case you want to create your app based on the template, you could find your system under Service URL int he wizard:

2. iotrdms - does not expose any OData APIs [3]. I doubt that there is a template in the WebIDE which can consumer pure RESTful APIs (non-OData), so here you would need to implement it yourself. Hence, no additional WebIDE* properties are required in the destination.

Hope this helps,

Anton

[1] https://help.hana.ondemand.com/SAP_RDE/frameset.htm?5c3debce758a470e8342161457fd6f70.html

[2] https://help.sap.com/viewer/7436c3125dd5491f939689f18954b1e9/Cloud/en-US/7264b5461a724c10acb71286e85d75ea.html

[3] https://help.sap.com/viewer/7436c3125dd5491f939689f18954b1e9/Cloud/en-US/c4477ad35f1c405fb9364f279f24d973.html


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hallo Anton,

Thanks for your answer.

I was missing the WebIDEAdditionalData addition. Now it's doing what i needed it to do and when i select the table T_IOT_B48...12F5 in the example you're giving, i can select the data from it that i want to show.

All i need to do now is to set up the Authentication for the access.

Thanks again.

0