9.12.4 CreatePullPointSubscriptionResponse

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

  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:wsnt="http://docs.oasis-open.org/wsn/b-2"
  5. xmlns:tet="http://www.onvif.org/ver10/events/wsdl">
  6. <SOAP-ENV:Header>
  7. <wsa:Action>
  8. http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionResponse
  9. </wsa:Action>
  10. </SOAP-ENV:Header>
  11. <SOAP-ENV:Body>
  12. <tet:CreatePullPointSubscriptionResponse>
  13. <tet:SubscriptionReference>
  14. <wsa:Address>
  15. http://160.10.64.10/Subscription?Idx=0
  16. </wsa:Address>
  17. </tet:SubscriptionReference>
  18. <wsnt:CurrentTime>
  19. 2008-10-09T13:52:59
  20. </wsnt:CurrentTime>
  21. <wsnt:TerminationTime>
  22. 2008-10-09T13:53:59
  23. </wsnt:TerminationTime>
  24. </tet:CreatePullPointSubscriptionResponse>
  25. </SOAP-ENV:Body>
  26. </SOAP-ENV:Envelope>

上一章|继续阅读