Quantcast
Channel: B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 100

Experience IoT using SAP Process Orchestration | part III

$
0
0

The first part of this blog series contains a small introduction to the MQTT concept. The second part highlights a demo scenario getting temperature data asynchronously. This part will highlight a synchronous scenario, where data is retrieved from the SAP system and offered back to the MQTT broker and back to the device simulation side. To keep it simple, I used the well-known Flight data example, available in every SAP system.

 

This is how the input data actually looks like in JSON format

 

{

"Agency": "110",

  "FlightDetails": {

      "AirlineID": "AA",

      "ConnID": "0017",

      "Date": "2015-05-13"

  },

}

 

First of all, configure a sender MQTT adapter to subscribe to a specific topic. This is basically the same as for the scenario in the previous blog part, except now we also need a reply topic. And off course, the QoS is Best Effort.

1.png

On the device simulation side, do not forget to subscribe to the reply topic. This provides the result immediately

2.png

If everything goes well, you will see both the JSON and XML data in the Message Log

3.png

 

The reply message from SAP is also available in the Message Log, both in XML and JSON format

4.png

 

And finally, this is how it looks like on the device simulation side.

5.png

You can actually see the response data, in JSON format again.


Viewing all articles
Browse latest Browse all 100

Trending Articles



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