9.12.2 GetEventPropertiesResponse

在这个例子中,该设备响应使用ONVIF Topic命名空间(描述可以从http://www.onvif.org/onvif/ver10/topics/topicns.xml下载)。Topic集不随时间和单一的Topic tns1:RuleEngine/LineDetector/Crossed而改变。与此Topic相关的消息包含有VideoSourceConfigurationToken、VideoAnalyticsConfigurationToken和已有交叉线的对象。设备支持两种TopicExpressionDialects。

  1. <?xml version="1.0" encoding="UTF -8"?>
  2. <SOAP-ENV:Envelope xmlns:SOAP -ENV="http://www.w3.org/2003/05/soap-envelope"
  3. xmlns:wsa="http://www.w3.org/2005/08/addressing"
  4. xmlns:wstop="http://docs.oasis-open.org/wsn/t-1"
  5. xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
  6. xmlns:tet="http://www.onvif.org/ver10/event s/wsdl"
  7. xmlns:tns1="http://www.onvif.org/ver10/topics"
  8. xmlns:tt="http://www.onvif.org/ver10/schema">
  9. <SOAP-ENV:Header>
  10. <wsa:Action>
  11. http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesResponse
  12. </wsa:Action>
  13. </SOAP-ENV:Header>
  14. <SOAP-ENV:Body>
  15. <tet:GetEventPropertiesResponse>
  16. <tet:TopicNamespaceLocation>
  17. http://www.onvif.org/onvif/ver10/topics/topicns.xml
  18. </tet:TopicNamespaceLocation>
  19. <wsnt:FixedTopicSet>
  20. true
  21. </wsnt:FixedTopicSet>
  22. <wstop:TopicSet xmlns="">
  23. <tns1:RuleEngine>
  24. <LineDetector>
  25. <Crossed wstop:topic="true">
  26. <tt:MessageDescription>
  27. <tt:Source>
  28. <tt:SimpleItemDescription Name="VideoSourceConfigurationToken" Type="tt:ReferenceToken"/>
  29. <tt:SimpleItemDescription Name="VideoAnalyticsConfigurationToken" Type="tt:ReferenceToken"/>
  30. </tt:Source>
  31. <tt:Data>
  32. <tt:SimpleItemDescription Name="ObjectId" Type="xs:integer"/>
  33. </tt:Data>
  34. </tt:MessageDescription>
  35. </Crossed>
  36. </LineDetector>
  37. </tns1:RuleEngine>
  38. </wstop:TopicSet>
  39. <wsnt:TopicExpressionDialect>
  40. http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
  41. </wsnt:TopicExpressionDialect>
  42. <wsnt:TopicExpressionDialect>
  43. http://docs.oasis-open.org/wsnt/t-1/TopicExpression/ConcreteSet
  44. </wsnt:TopicExpressionDialect>
  45. <wsnt:MessageContentFilterDialect>
  46. http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter
  47. </wsnt:MessageContentFilterDialect>
  48. <tt:MessageContent SchemaLocation>
  49. http://www.onvif.org/onvif/ver10/schema/onvif.xsd
  50. </tt:MessageContentSchemaLocation>
  51. </tet:GetEventPropertiesResponse>
  52. </SOAP-ENV:Body>
  53. </SOAP-ENV:Envelope>

上一章|继续阅读