Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.19 KB

09.12.04.md

File metadata and controls

34 lines (31 loc) · 1.19 KB

9.12.4 CreatePullPointSubscriptionResponse

当设备接受订阅时,它返回http://160.10.64.10/Subscription?Idx=0 URI代表该订阅的端点。此外,客户端被告知有关设备的CurrentTime和创建订阅的TerminationTime。

<?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:wsnt="http://docs.oasis-open.org/wsn/b-2"
			xmlns:tet="http://www.onvif.org/ver10/events/wsdl">
		<SOAP-ENV:Header>
			<wsa:Action>
				http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionResponse
			</wsa:Action>
		</SOAP-ENV:Header>
		<SOAP-ENV:Body>
			<tet:CreatePullPointSubscriptionResponse>
				<tet:SubscriptionReference>
					<wsa:Address>
						http://160.10.64.10/Subscription?Idx=0
					</wsa:Address>
				</tet:SubscriptionReference>
			<wsnt:CurrentTime>
				2008-10-09T13:52:59
			</wsnt:CurrentTime>
			<wsnt:TerminationTime>
				2008-10-09T13:53:59
			</wsnt:TerminationTime>
		</tet:CreatePullPointSubscriptionResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

上一章|继续阅读