Skip to content

Latest commit

 

History

History
66 lines (63 loc) · 2.42 KB

09.12.06.md

File metadata and controls

66 lines (63 loc) · 2.42 KB

9.12.6 PullMessagesResponse

以下PullMessageResponse包含两个匹配订阅的通知。这个响应(Response)告知客户端,两个对象交叉线对应的规则“MyImportantFence1”和“MyImportantFence2”。

<?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/events/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/PullPointSubscription/PullMessagesResponse
		</wsa:Action>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<tet:PullMessagesResponse>
			<tet:CurrentTime>
				2008-10-10T12:24:58
			</tet:CurrentTime>
			<tet:TerminationTime>
				2008-10-10T12:25:58
			</tet:TerminationTime>
			<wsnt:NotificationMessage>
				<wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">
					tns1:RuleEngine/LineDetector/Crossed
				</wsnt:Topic>
				<wsnt:Message>
					<tt:Message UtcTime="2008-10-10T12:24:57.3 21Z">
						<tt:Source>
							<tt:SimpleItem Name="VideoSourceConfigurationToken" Value="1"/>
							<tt:SimpleItem Name="VideoAnalyticsConfigurationToken" Value="2"/>
							<tt:SimpleItem Value="MyImportantFence1" Name="Rule"/>
						</tt:Source>
						<tt:Data>
							<tt:SimpleItem Name="ObjectId" Value="15" />
						</tt:Data>
					</tt:Message>
				</wsnt:Message>
			</wsnt:NotificationMessage>
			<wsnt:NotificationMessage>
				<wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">
					tns1:RuleEngine/LineDetector/Crossed
				</wsnt:Topic>
				<wsnt:Message>
					<tt:Message UtcTime="2008-10-10T12:24:57.789Z">
						<tt:Source>
							<tt:SimpleItem Name="VideoSourceConfigurationToken" Value="1"/>
							<tt:SimpleItem Name="VideoAnalyti csConfigurationToken" Value="2"/>
							<tt:SimpleItem Value="MyImportantFence2" Name="Rule"/>
						</tt:Source>
						<tt:Data>
							<tt:SimpleItem Name="ObjectId" Value="19"/>
						</tt:Data>
					</tt:Message>
				</wsnt:Message>
			</wsnt:NotificationMessage>
		</tet:PullMessagesResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

上一章|继续阅读