<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: IoT Message Processing - Message Forwarding (HTTP) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448690#M67243</link>
    <description>&lt;P&gt;I was thinking why was there no validation on the device type when I created the service mapping? But then it came to me, the design decision at the core of IoT services is to keep services lean so that they can be scaled to millions of devices at a time. &lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2017 16:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-07-10T16:47:21Z</dc:date>
    <item>
      <title>IoT Message Processing - Message Forwarding (HTTP)</title>
      <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaq-p/448686</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  I would like to configure a HTTP handler to process the IoT Message sent from the device. I maintained the configuration as per the documentation &lt;A href="https://help.hana.ondemand.com/iot/frameset.htm?65055489297046f3808757aa7eeb779d.html" target="_blank"&gt; here&lt;/A&gt; but I am not receiving any requests to my http endpoint. . Can you please help me with some guidance on how to troubleshoot this issue.&lt;/P&gt;&lt;P&gt;Here are few things I verified:&lt;/P&gt;&lt;P&gt;- My end point is an HCP url and I am able to successfully make POST requests to it.  &lt;/P&gt;&lt;P&gt;- My message mode is synchronous "sync"&lt;/P&gt;&lt;P&gt;- Checked MMS logs for error, didn't see any errors.&lt;/P&gt;&lt;P&gt;- Turned on traces for component com.sap.iotservices.mms.processing, I don't see any attempt made by MMS to invoke my endpoint. &lt;/P&gt;&lt;P&gt;- Verified through Message Processing API if my handler is active, and I see the correct endpoint in the response.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Figure 1:&lt;/STRONG&gt; Message Processing API showing the "http" processor is active for the device/message combination.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/45050-processing-api-1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Figure 2:&lt;/STRONG&gt; Request/Response of the Message request showing device-id, message-id and response.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/45055-message-response.jpg" /&gt;&lt;/P&gt;&lt;P&gt;On a separate note,  why is that the logger has a separate component defined for each processing type like &lt;/P&gt;&lt;P&gt;com.sap.iotservices.mms.processing.sql&lt;/P&gt;&lt;P&gt;com.sap.iotservices.mms.processing.sds &lt;/P&gt;&lt;P&gt;but there is nothing for com.sap.iotservices.mms.processing.http? &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 22:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaq-p/448686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2024-02-03T22:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: IoT Message Processing - Message Forwarding (HTTP)</title>
      <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448687#M67240</link>
      <description>&lt;P&gt;I restarted the MMS service and now I see an ERROR message in the log saying "Could not retrieve the service mappings from the data base".&lt;/P&gt;&lt;P&gt;But I see the service mapping active.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/45057-error.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/45058-service-mappings.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 06:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448687#M67240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-10T06:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: IoT Message Processing - Message Forwarding (HTTP)</title>
      <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448688#M67241</link>
      <description>&lt;P&gt;Hello Ram, you have configured your mapping but used the device ID where device type ID was expected. Please, adapt. Regards, Anton&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 06:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448688#M67241</guid>
      <dc:creator>anton_levin</dc:creator>
      <dc:date>2017-07-10T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: IoT Message Processing - Message Forwarding (HTTP)</title>
      <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448689#M67242</link>
      <description>&lt;P&gt;Thank you very much Anton, that solved the problem. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 11:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448689#M67242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-10T11:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: IoT Message Processing - Message Forwarding (HTTP)</title>
      <link>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448690#M67243</link>
      <description>&lt;P&gt;I was thinking why was there no validation on the device type when I created the service mapping? But then it came to me, the design decision at the core of IoT services is to keep services lean so that they can be scaled to millions of devices at a time. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 16:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/iot-message-processing-message-forwarding-http/qaa-p/448690#M67243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-10T16:47:21Z</dc:date>
    </item>
  </channel>
</rss>

