在这个例子中,该设备响应使用ONVIF Topic命名空间(描述可以从http://www.onvif.org/onvif/ver10/topics/topicns.xml下载)。Topic集不随时间和单一的Topic tns1:RuleEngine/LineDetector/Crossed而改变。与此Topic相关的消息包含有VideoSourceConfigurationToken、VideoAnalyticsConfigurationToken和已有交叉线的对象。设备支持两种TopicExpressionDialects。
<?xml version="1.0" encoding="UTF -8"?>
<SOAP-ENV:Envelope xmlns:SOAP -ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wstop="http://docs.oasis-open.org/wsn/t-1"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:tet="http://www.onvif.org/ver10/event s/wsdl"
xmlns:tns1="http://www.onvif.org/ver10/topics"
xmlns:tt="http://www.onvif.org/ver10/schema">
<SOAP-ENV:Header>
<wsa:Action>
http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesResponse
</wsa:Action>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<tet:GetEventPropertiesResponse>
<tet:TopicNamespaceLocation>
http://www.onvif.org/onvif/ver10/topics/topicns.xml
</tet:TopicNamespaceLocation>
<wsnt:FixedTopicSet>
true
</wsnt:FixedTopicSet>
<wstop:TopicSet xmlns="">
<tns1:RuleEngine>
<LineDetector>
<Crossed wstop:topic="true">
<tt:MessageDescription>
<tt:Source>
<tt:SimpleItemDescription Name="VideoSourceConfigurationToken" Type="tt:ReferenceToken"/>
<tt:SimpleItemDescription Name="VideoAnalyticsConfigurationToken" Type="tt:ReferenceToken"/>
</tt:Source>
<tt:Data>
<tt:SimpleItemDescription Name="ObjectId" Type="xs:integer"/>
</tt:Data>
</tt:MessageDescription>
</Crossed>
</LineDetector>
</tns1:RuleEngine>
</wstop:TopicSet>
<wsnt:TopicExpressionDialect>
http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
</wsnt:TopicExpressionDialect>
<wsnt:TopicExpressionDialect>
http://docs.oasis-open.org/wsnt/t-1/TopicExpression/ConcreteSet
</wsnt:TopicExpressionDialect>
<wsnt:MessageContentFilterDialect>
http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter
</wsnt:MessageContentFilterDialect>
<tt:MessageContent SchemaLocation>
http://www.onvif.org/onvif/ver10/schema/onvif.xsd
</tt:MessageContentSchemaLocation>
</tet:GetEventPropertiesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>