cancel
Showing results for 
Search instead for 
Did you mean: 

Java consumption application not displaying data from tables!

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I further tried below steps and it started working, not sure what was the problem.

1. Updated my Google Chrome browser to latest version

2. Deleted 'iotmms' and 'iotrdms' Destinations in our account pzxxxx trial > Destinations section (Not in 'iotstarterkit' application). This I created when using UI5 HTML application.

3. Opened the application in Incognito window.

With Regards,

Harsha MP.

Answers (0)