Closed onlyindreams closed 8 years ago
Sorry, I had a mistake.
When I removed "
(curl localhost:8060/ngsi10/subscribeContext -s -S \
--header 'Content-Type: application/xml' --header 'Accept: application/xml' \
-d @-) <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<subscribeContextRequest>
<entityIdList>
<entityId type="order_camera" isPattern="false">
<id>order_camera1</id>
</entityId>
</entityIdList>
<attributeList>
<attribute>resolution</attribute>
<attribute>interval</attribute>
</attributeList>
<reference>http://localhost:1028/accumulate</reference>
<duration>P1M</duration>
<notifyConditions>
<notifyCondition>
<type>ONCHANGE</type>
<condValueList>
<condValue>resolution</condValue>
</condValueList>
</notifyCondition>
</notifyConditions>
<throttling>PT1S</throttling>
</subscribeContextRequest>
EOF
But I have another problems about subscription feature yet. I'm going to post the problem to you later as an another issue.
Best Regards, Naoya
Hi,
I issued subscribeContextRequest to my IoT Broker but a BAD REQUEST response was returned.
As far as I can see an IoT Broker's xmlSchema(Ngsi10_Operations_v08.xsd), I think ”restriction" does not have to be included in "SubscribeContextRequest".
Is this a bug??
Best Regards, Naoya