Skip to Content
0
Aug 01, 2018 at 12:06 PM

Java consumption application not displaying data from tables!

64 Views Last edit Aug 01, 2018 at 12:27 PM 2 rev

Hi,

I deployed Java consumption application as described in below link [1]
[1] https://github.com/SAP/iot-starterkit/tree/master/neo/apps/java/consumption

Using the Message Management Service (MMS) Cockpit I can send messages to a message management service and I can see the stored messages, using "Display stored messages" in the MMS Cockpit (for different devices and different message types).
After deploying and starting the iotstarterkit application I can access the application but I get blank for all the lists.

I have made below checks before posting here:

  1. "starterkit" java app is bound to the same schema ID as "iotmms". They both have a binding pointing to same schema(iotmmsschema) ID.
  2. Destinations section of "starterkit" app.
    "iotrdms" destination URL is
    https://iotrdmsiotservices-pxxxxtrial.hanatrial.ondemand.com/com.sap.iotservices.dms (with trial suffix), User is (with no trial suffix) and Password is my SAP Cloud platform login password.
  3. Destination section of "starterkit" app.
    For "iotmms" destination:
    URL is https://iotmmspxxxxtrial.hanatrial.ondemand.com/com.sap.iotservices.mms (with trial suffix), User is (with no trial suffix) and Password is my SAP Cloud platform login password.
  4. In browser on executing below link, I get following devices.
    https://iotrdmsiotservices-pXXXXtrial.hanatrial.ondemand.com/com.sap.iotservices.dms/v1/api/devices
    [{"id":"5b6b0dc6-f5b9-4232-8bfc-10add9a295cd","name":"MyGrovePI","device_type":"90b08720c75d218ef422"}]
  5. I created device types, message types and devices via the IoT Services Cockpit (see below picture).

Can someone help me, what might be the problem?

With Regards,

Harsha MP