events.wsdl 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/xsl" href="../../../ver20/util/onvif-wsdl-viewer.xsl"?>
  3. <!--
  4. Copyright (c) 2008-2012 by ONVIF: Open Network Video Interface Forum. All rights reserved.
  5. Recipients of this document may copy, distribute, publish, or display this document so long as this copyright notice, license and disclaimer are retained with all copies of the document. No license is granted to modify this document.
  6. THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THIS DOCUMENT ARE SUITABLE FOR ANY PURPOSE; OR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
  7. IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT. THE FOREGOING DISCLAIMER AND LIMITATION ON LIABILITY DO NOT APPLY TO, INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES MADE BY THE MEMBERS AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND OTHER MEMBERS IN CERTAIN WRITTEN POLICIES OF THE CORPORATION.
  8. -->
  9. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" targetNamespace="http://www.onvif.org/ver10/events/wsdl">
  10. <wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2" location="bw-2.wsdl"/>
  11. <wsdl:types>
  12. <xs:schema targetNamespace="http://www.onvif.org/ver10/events/wsdl" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" elementFormDefault="qualified" version="2.3">
  13. <xs:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="ws-addr.xsd"/>
  14. <xs:import namespace="http://docs.oasis-open.org/wsn/t-1" schemaLocation="t-1.xsd"/>
  15. <xs:import namespace="http://docs.oasis-open.org/wsn/b-2" schemaLocation="b-2.xsd"/>
  16. <!-- Message Request/Responses elements -->
  17. <!--===============================-->
  18. <xs:element name="GetServiceCapabilities">
  19. <xs:complexType>
  20. <xs:sequence/>
  21. </xs:complexType>
  22. </xs:element>
  23. <xs:element name="GetServiceCapabilitiesResponse">
  24. <xs:complexType>
  25. <xs:sequence>
  26. <xs:element name="Capabilities" type="tev:Capabilities">
  27. <xs:annotation>
  28. <xs:documentation>The capabilities for the event service is returned in the Capabilities element.</xs:documentation>
  29. </xs:annotation>
  30. </xs:element>
  31. </xs:sequence>
  32. </xs:complexType>
  33. </xs:element>
  34. <!--===============================-->
  35. <xs:complexType name="Capabilities">
  36. <xs:sequence>
  37. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  38. </xs:sequence>
  39. <xs:attribute name="WSSubscriptionPolicySupport" type="xs:boolean">
  40. <xs:annotation>
  41. <xs:documentation>Indicates that the WS Subscription policy is supported.</xs:documentation>
  42. </xs:annotation>
  43. </xs:attribute>
  44. <xs:attribute name="WSPullPointSupport" type="xs:boolean">
  45. <xs:annotation>
  46. <xs:documentation>Indicates that the WS Pull Point is supported.</xs:documentation>
  47. </xs:annotation>
  48. </xs:attribute>
  49. <xs:attribute name="WSPausableSubscriptionManagerInterfaceSupport" type="xs:boolean">
  50. <xs:annotation>
  51. <xs:documentation>Indicates that the WS Pausable Subscription Manager Interface is supported.</xs:documentation>
  52. </xs:annotation>
  53. </xs:attribute>
  54. <xs:attribute name="MaxNotificationProducers" type="xs:int">
  55. <xs:annotation>
  56. <xs:documentation>Maximum number of supported notification producers as defined by WS-BaseNotification.</xs:documentation>
  57. </xs:annotation>
  58. </xs:attribute>
  59. <xs:attribute name="MaxPullPoints" type="xs:int">
  60. <xs:annotation>
  61. <xs:documentation>Maximum supported number of notification pull points.</xs:documentation>
  62. </xs:annotation>
  63. </xs:attribute>
  64. <xs:attribute name="PersistentNotificationStorage" type="xs:boolean">
  65. <xs:annotation>
  66. <xs:documentation>Indication if the device supports persistent notification storage.</xs:documentation>
  67. </xs:annotation>
  68. </xs:attribute>
  69. <xs:anyAttribute processContents="lax"/>
  70. </xs:complexType>
  71. <xs:element name="Capabilities" type="tev:Capabilities"/>
  72. <!--===============================-->
  73. <xs:element name="CreatePullPointSubscription">
  74. <xs:complexType>
  75. <xs:sequence>
  76. <xs:element name="Filter" type="wsnt:FilterType" minOccurs="0">
  77. <xs:annotation>
  78. <xs:documentation>Optional XPATH expression to select specific topics.</xs:documentation>
  79. </xs:annotation>
  80. </xs:element>
  81. <xs:element name="InitialTerminationTime" type="wsnt:AbsoluteOrRelativeTimeType" nillable="true" minOccurs="0">
  82. <xs:annotation>
  83. <xs:documentation>Initial termination time.</xs:documentation>
  84. </xs:annotation>
  85. </xs:element>
  86. <xs:element name="SubscriptionPolicy" minOccurs="0">
  87. <xs:annotation>
  88. <xs:documentation>Refer to <a href="http://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.htm">Web Services Base Notification 1.3 (WS-BaseNotification)</a>.</xs:documentation>
  89. </xs:annotation>
  90. <xs:complexType>
  91. <xs:sequence>
  92. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  93. </xs:sequence>
  94. </xs:complexType>
  95. </xs:element>
  96. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  97. </xs:sequence>
  98. </xs:complexType>
  99. </xs:element>
  100. <xs:element name="CreatePullPointSubscriptionResponse">
  101. <xs:complexType>
  102. <xs:sequence>
  103. <xs:element name="SubscriptionReference" type="wsa:EndpointReferenceType">
  104. <xs:annotation>
  105. <xs:documentation>Endpoint reference of the subscription to be used for pulling the messages.</xs:documentation>
  106. </xs:annotation>
  107. </xs:element>
  108. <xs:element ref="wsnt:CurrentTime">
  109. <xs:annotation>
  110. <xs:documentation>Current time of the server for synchronization purposes.</xs:documentation>
  111. </xs:annotation>
  112. </xs:element>
  113. <xs:element ref="wsnt:TerminationTime">
  114. <xs:annotation>
  115. <xs:documentation>Date time when the PullPoint will be shut down without further pull requests.</xs:documentation>
  116. </xs:annotation>
  117. </xs:element>
  118. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  119. </xs:sequence>
  120. </xs:complexType>
  121. </xs:element>
  122. <!--===============================-->
  123. <xs:element name="PullMessages">
  124. <xs:complexType>
  125. <xs:sequence>
  126. <xs:element name="Timeout" type="xs:duration">
  127. <xs:annotation>
  128. <xs:documentation>Maximum time to block until this method returns.</xs:documentation>
  129. </xs:annotation>
  130. </xs:element>
  131. <xs:element name="MessageLimit" type="xs:int">
  132. <xs:annotation>
  133. <xs:documentation>Upper limit for the number of messages to return at once. A server implementation may decide to return less messages.</xs:documentation>
  134. </xs:annotation>
  135. </xs:element>
  136. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  137. </xs:sequence>
  138. </xs:complexType>
  139. </xs:element>
  140. <xs:element name="PullMessagesResponse">
  141. <xs:complexType>
  142. <xs:sequence>
  143. <xs:element name="CurrentTime" type="xs:dateTime">
  144. <xs:annotation>
  145. <xs:documentation>The date and time when the messages have been delivered by the web server to the client.</xs:documentation>
  146. </xs:annotation>
  147. </xs:element>
  148. <xs:element name="TerminationTime" type="xs:dateTime">
  149. <xs:annotation>
  150. <xs:documentation>Date time when the PullPoint will be shut down without further pull requests.</xs:documentation>
  151. </xs:annotation>
  152. </xs:element>
  153. <xs:element ref="wsnt:NotificationMessage" minOccurs="0" maxOccurs="unbounded">
  154. <xs:annotation>
  155. <xs:documentation>List of messages. This list shall be empty in case of a timeout.</xs:documentation>
  156. </xs:annotation>
  157. </xs:element>
  158. </xs:sequence>
  159. </xs:complexType>
  160. </xs:element>
  161. <xs:element name="PullMessagesFaultResponse">
  162. <xs:complexType>
  163. <xs:sequence>
  164. <xs:element name="MaxTimeout" type="xs:duration">
  165. <xs:annotation>
  166. <xs:documentation>Maximum timeout supported by the device.</xs:documentation>
  167. </xs:annotation>
  168. </xs:element>
  169. <xs:element name="MaxMessageLimit" type="xs:int">
  170. <xs:annotation>
  171. <xs:documentation>Maximum message limit supported by the device.</xs:documentation>
  172. </xs:annotation>
  173. </xs:element>
  174. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  175. </xs:sequence>
  176. </xs:complexType>
  177. </xs:element>
  178. <!--===============================-->
  179. <xs:element name="Seek">
  180. <xs:complexType>
  181. <xs:sequence>
  182. <xs:element name="UtcTime" type="xs:dateTime"><xs:annotation><xs:documentation>The date and time to match against stored messages.</xs:documentation></xs:annotation></xs:element>
  183. <xs:element name="Reverse" type="xs:boolean" minOccurs="0" maxOccurs="1"><xs:annotation><xs:documentation>Reverse the pull direction of PullMessages.</xs:documentation></xs:annotation></xs:element>
  184. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  185. </xs:sequence>
  186. </xs:complexType>
  187. </xs:element>
  188. <xs:element name="SeekResponse">
  189. <xs:complexType>
  190. <xs:sequence/>
  191. </xs:complexType>
  192. </xs:element>
  193. <!--===============================-->
  194. <xs:element name="SetSynchronizationPoint">
  195. <xs:complexType>
  196. <xs:sequence/>
  197. </xs:complexType>
  198. </xs:element>
  199. <xs:element name="SetSynchronizationPointResponse">
  200. <xs:complexType>
  201. <xs:sequence/>
  202. </xs:complexType>
  203. </xs:element>
  204. <!--===============================-->
  205. <xs:element name="GetEventProperties">
  206. <xs:complexType>
  207. <xs:sequence/>
  208. </xs:complexType>
  209. </xs:element>
  210. <xs:element name="GetEventPropertiesResponse">
  211. <xs:complexType>
  212. <xs:sequence>
  213. <xs:element name="TopicNamespaceLocation" type="xs:anyURI" minOccurs="1" maxOccurs="unbounded">
  214. <xs:annotation>
  215. <xs:documentation>List of topic namespaces supported.</xs:documentation>
  216. </xs:annotation>
  217. </xs:element>
  218. <xs:element ref="wsnt:FixedTopicSet">
  219. <xs:annotation>
  220. <xs:documentation>True when topicset is fixed for all times.</xs:documentation>
  221. </xs:annotation>
  222. </xs:element>
  223. <xs:element ref="wstop:TopicSet">
  224. <xs:annotation>
  225. <xs:documentation>Set of topics supported.</xs:documentation>
  226. </xs:annotation>
  227. </xs:element>
  228. <xs:element ref="wsnt:TopicExpressionDialect" minOccurs="1" maxOccurs="unbounded">
  229. <xs:annotation>
  230. <xs:documentation>
  231. Defines the XPath expression syntax supported for matching topic expressions. <br/>
  232. The following TopicExpressionDialects are mandatory for an ONVIF compliant device :
  233. <ul type="disc">
  234. <li>http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete</li>
  235. <li>http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet.</li>
  236. </ul>
  237. </xs:documentation>
  238. </xs:annotation>
  239. </xs:element>
  240. <xs:element name="MessageContentFilterDialect" type="xs:anyURI" minOccurs="1" maxOccurs="unbounded">
  241. <xs:annotation>
  242. <xs:documentation>
  243. Defines the XPath function set supported for message content filtering.<br/>
  244. The following MessageContentFilterDialects are mandatory for an ONVIF compliant device:
  245. <ul type="disc">
  246. <li>http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter.</li>
  247. </ul>
  248. </xs:documentation>
  249. </xs:annotation>
  250. </xs:element>
  251. <xs:element name="ProducerPropertiesFilterDialect" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded">
  252. <xs:annotation>
  253. <xs:documentation>
  254. Optional ProducerPropertiesDialects. Refer to <a href="http://docs.oasis-open.org/wsn/wsn-ws_base_notification-1.3-spec-os.htm">Web Services Base Notification 1.3 (WS-BaseNotification)</a> for advanced filtering.</xs:documentation>
  255. </xs:annotation>
  256. </xs:element>
  257. <xs:element name="MessageContentSchemaLocation" type="xs:anyURI" minOccurs="1" maxOccurs="unbounded">
  258. <xs:annotation>
  259. <xs:documentation>
  260. The Message Content Description Language allows referencing
  261. of vendor-specific types. In order to ease the integration of such types into a client application,
  262. the GetEventPropertiesResponse shall list all URI locations to schema files whose types are
  263. used in the description of notifications, with MessageContentSchemaLocation elements.<br/>
  264. This list shall at least contain the URI of the ONVIF schema file.</xs:documentation>
  265. </xs:annotation>
  266. </xs:element>
  267. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded">
  268. <xs:annotation>
  269. <xs:documentation/>
  270. </xs:annotation>
  271. </xs:any>
  272. </xs:sequence>
  273. </xs:complexType>
  274. </xs:element>
  275. <!--===============================-->
  276. </xs:schema>
  277. </wsdl:types>
  278. <wsdl:message name="GetServiceCapabilitiesRequest">
  279. <wsdl:part name="parameters" element="tev:GetServiceCapabilities"/>
  280. </wsdl:message>
  281. <wsdl:message name="GetServiceCapabilitiesResponse">
  282. <wsdl:part name="parameters" element="tev:GetServiceCapabilitiesResponse"/>
  283. </wsdl:message>
  284. <wsdl:message name="CreatePullPointSubscriptionRequest">
  285. <wsdl:part name="parameters" element="tev:CreatePullPointSubscription"/>
  286. </wsdl:message>
  287. <wsdl:message name="CreatePullPointSubscriptionResponse">
  288. <wsdl:part name="parameters" element="tev:CreatePullPointSubscriptionResponse"/>
  289. </wsdl:message>
  290. <wsdl:message name="PullMessagesRequest">
  291. <wsdl:part name="parameters" element="tev:PullMessages"/>
  292. </wsdl:message>
  293. <wsdl:message name="PullMessagesResponse">
  294. <wsdl:part name="parameters" element="tev:PullMessagesResponse"/>
  295. </wsdl:message>
  296. <wsdl:message name="PullMessagesFaultResponse">
  297. <wsdl:part name="parameters" element="tev:PullMessagesFaultResponse"/>
  298. </wsdl:message>
  299. <wsdl:message name="SeekRequest">
  300. <wsdl:part name="parameters" element="tev:Seek"/>
  301. </wsdl:message>
  302. <wsdl:message name="SeekResponse">
  303. <wsdl:part name="parameters" element="tev:SeekResponse"/>
  304. </wsdl:message>
  305. <wsdl:message name="SetSynchronizationPointRequest">
  306. <wsdl:part name="parameters" element="tev:SetSynchronizationPoint"/>
  307. </wsdl:message>
  308. <wsdl:message name="SetSynchronizationPointResponse">
  309. <wsdl:part name="parameters" element="tev:SetSynchronizationPointResponse"/>
  310. </wsdl:message>
  311. <wsdl:message name="GetEventPropertiesRequest">
  312. <wsdl:part name="parameters" element="tev:GetEventProperties"/>
  313. </wsdl:message>
  314. <wsdl:message name="GetEventPropertiesResponse">
  315. <wsdl:part name="parameters" element="tev:GetEventPropertiesResponse"/>
  316. </wsdl:message>
  317. <wsdl:portType name="EventPortType">
  318. <wsdl:operation name="GetServiceCapabilities">
  319. <wsdl:documentation>Returns the capabilities of the event service. The result is returned in a typed answer.</wsdl:documentation>
  320. <wsdl:input message="tev:GetServiceCapabilitiesRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest"/>
  321. <wsdl:output message="tev:GetServiceCapabilitiesResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesResponse"/>
  322. </wsdl:operation>
  323. <wsdl:operation name="CreatePullPointSubscription">
  324. <wsdl:documentation>This method returns a PullPointSubscription that can be polled using PullMessages.
  325. This message contains the same elements as the SubscriptionRequest of the WS-BaseNotification without the ConsumerReference.<br/>
  326. If no Filter is specified the pullpoint notifies all occurring events to the client.<br/>
  327. This method is mandatory.</wsdl:documentation>
  328. <wsdl:input message="tev:CreatePullPointSubscriptionRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest"/>
  329. <wsdl:output message="tev:CreatePullPointSubscriptionResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionResponse"/>
  330. <wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault"/>
  331. <wsdl:fault name="InvalidFilterFault" message="wsntw:InvalidFilterFault"/>
  332. <wsdl:fault name="TopicExpressionDialectUnknownFault" message="wsntw:TopicExpressionDialectUnknownFault"/>
  333. <wsdl:fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault"/>
  334. <wsdl:fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault"/>
  335. <wsdl:fault name="InvalidProducerPropertiesExpressionFault" message="wsntw:InvalidProducerPropertiesExpressionFault"/>
  336. <wsdl:fault name="InvalidMessageContentExpressionFault" message="wsntw:InvalidMessageContentExpressionFault"/>
  337. <wsdl:fault name="UnacceptableInitialTerminationTimeFault" message="wsntw:UnacceptableInitialTerminationTimeFault"/>
  338. <wsdl:fault name="UnrecognizedPolicyRequestFault" message="wsntw:UnrecognizedPolicyRequestFault"/>
  339. <wsdl:fault name="UnsupportedPolicyRequestFault" message="wsntw:UnsupportedPolicyRequestFault"/>
  340. <wsdl:fault name="NotifyMessageNotSupportedFault" message="wsntw:NotifyMessageNotSupportedFault"/>
  341. <wsdl:fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault"/>
  342. </wsdl:operation>
  343. <wsdl:operation name="GetEventProperties">
  344. <wsdl:documentation>The WS-BaseNotification specification defines a set of OPTIONAL WS-ResouceProperties.
  345. This specification does not require the implementation of the WS-ResourceProperty interface.
  346. Instead, the subsequent direct interface shall be implemented by an ONVIF compliant device
  347. in order to provide information about the FilterDialects, Schema files and topics supported by
  348. the device.</wsdl:documentation>
  349. <wsdl:input message="tev:GetEventPropertiesRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesRequest"/>
  350. <wsdl:output message="tev:GetEventPropertiesResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesResponse"/>
  351. </wsdl:operation>
  352. </wsdl:portType>
  353. <wsdl:portType name="PullPointSubscription">
  354. <wsdl:operation name="PullMessages">
  355. <wsdl:documentation>
  356. This method pulls one or more messages from a PullPoint.
  357. The device shall provide the following PullMessages command for all SubscriptionManager
  358. endpoints returned by the CreatePullPointSubscription command. This method shall not wait until
  359. the requested number of messages is available but return as soon as at least one message is available.<br/>
  360. The command shall at least support a Timeout of one minute. In case a device supports retrieval of less messages
  361. than requested it shall return these without generating a fault.</wsdl:documentation>
  362. <wsdl:input message="tev:PullMessagesRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesRequest"/>
  363. <wsdl:output message="tev:PullMessagesResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesResponse"/>
  364. <wsdl:fault name="PullMessagesFaultResponse" message="tev:PullMessagesFaultResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessages/Fault/PullMessagesFaultResponse"/>
  365. </wsdl:operation>
  366. <wsdl:operation name="Seek">
  367. <wsdl:documentation>
  368. This method readjusts the pull pointer into the past.
  369. A device supporting persistent notification storage shall provide the
  370. following Seek command for all SubscriptionManager endpoints returned by
  371. the CreatePullPointSubscription command. The optional Reverse argument can
  372. be used to reverse the pull direction of the PullMessages command.<br/>
  373. The UtcTime argument will be matched against the UtcTime attribute on a
  374. NotificationMessage.
  375. </wsdl:documentation>
  376. <wsdl:input message="tev:SeekRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SeekRequest"/>
  377. <wsdl:output message="tev:SeekResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SeekResponse"/>
  378. </wsdl:operation>
  379. <wsdl:operation name="SetSynchronizationPoint">
  380. <wsdl:documentation>Properties inform a client about property creation, changes and
  381. deletion in a uniform way. When a client wants to synchronize its properties with the
  382. properties of the device, it can request a synchronization point which repeats the current
  383. status of all properties to which a client has subscribed. The PropertyOperation of all
  384. produced notifications is set to “Initialized”. The Synchronization Point is
  385. requested directly from the SubscriptionManager which was returned in either the
  386. SubscriptionResponse or in the CreatePullPointSubscriptionResponse. The property update is
  387. transmitted via the notification transportation of the notification interface. This method is mandatory.
  388. </wsdl:documentation>
  389. <wsdl:input message="tev:SetSynchronizationPointRequest" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SetSynchronizationPointRequest"/>
  390. <wsdl:output message="tev:SetSynchronizationPointResponse" wsaw:Action="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SetSynchronizationPointResponse"/>
  391. </wsdl:operation>
  392. </wsdl:portType>
  393. <wsdl:binding name="PullPointSubscriptionBinding" type="tev:PullPointSubscription">
  394. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  395. <wsdl:operation name="PullMessages">
  396. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/PullMessagesRequest"/>
  397. <wsdl:input>
  398. <soap:body use="literal"/>
  399. </wsdl:input>
  400. <wsdl:output>
  401. <soap:body use="literal"/>
  402. </wsdl:output>
  403. <wsdl:fault name="PullMessagesFaultResponse">
  404. <soap:fault name="PullMessagesFaultResponse" use="literal"/>
  405. </wsdl:fault>
  406. </wsdl:operation>
  407. <wsdl:operation name="Seek">
  408. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SeekRequest"/>
  409. <wsdl:input>
  410. <soap:body use="literal"/>
  411. </wsdl:input>
  412. <wsdl:output>
  413. <soap:body use="literal"/>
  414. </wsdl:output>
  415. </wsdl:operation>
  416. <wsdl:operation name="SetSynchronizationPoint">
  417. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/PullPointSubscription/SetSynchronizationPointRequest"/>
  418. <wsdl:input>
  419. <soap:body use="literal"/>
  420. </wsdl:input>
  421. <wsdl:output>
  422. <soap:body use="literal"/>
  423. </wsdl:output>
  424. </wsdl:operation>
  425. </wsdl:binding>
  426. <wsdl:binding name="EventBinding" type="tev:EventPortType">
  427. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  428. <wsdl:operation name="GetServiceCapabilities">
  429. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilities"/>
  430. <wsdl:input>
  431. <soap:body use="literal"/>
  432. </wsdl:input>
  433. <wsdl:output>
  434. <soap:body use="literal"/>
  435. </wsdl:output>
  436. </wsdl:operation>
  437. <wsdl:operation name="CreatePullPointSubscription">
  438. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/EventPortType/CreatePullPointSubscriptionRequest"/>
  439. <wsdl:input>
  440. <soap:body use="literal"/>
  441. </wsdl:input>
  442. <wsdl:output>
  443. <soap:body use="literal"/>
  444. </wsdl:output>
  445. <wsdl:fault name="ResourceUnknownFault">
  446. <soap:fault name="ResourceUnknownFault" use="literal"/>
  447. </wsdl:fault>
  448. <wsdl:fault name="InvalidFilterFault">
  449. <soap:fault name="InvalidFilterFault" use="literal"/>
  450. </wsdl:fault>
  451. <wsdl:fault name="TopicExpressionDialectUnknownFault">
  452. <soap:fault name="TopicExpressionDialectUnknownFault" use="literal"/>
  453. </wsdl:fault>
  454. <wsdl:fault name="InvalidTopicExpressionFault">
  455. <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
  456. </wsdl:fault>
  457. <wsdl:fault name="TopicNotSupportedFault">
  458. <soap:fault name="TopicNotSupportedFault" use="literal"/>
  459. </wsdl:fault>
  460. <wsdl:fault name="InvalidProducerPropertiesExpressionFault">
  461. <soap:fault name="InvalidProducerPropertiesExpressionFault" use="literal"/>
  462. </wsdl:fault>
  463. <wsdl:fault name="InvalidMessageContentExpressionFault">
  464. <soap:fault name="InvalidMessageContentExpressionFault" use="literal"/>
  465. </wsdl:fault>
  466. <wsdl:fault name="UnacceptableInitialTerminationTimeFault">
  467. <soap:fault name="UnacceptableInitialTerminationTimeFault" use="literal"/>
  468. </wsdl:fault>
  469. <wsdl:fault name="UnrecognizedPolicyRequestFault">
  470. <soap:fault name="UnrecognizedPolicyRequestFault" use="literal"/>
  471. </wsdl:fault>
  472. <wsdl:fault name="UnsupportedPolicyRequestFault">
  473. <soap:fault name="UnsupportedPolicyRequestFault" use="literal"/>
  474. </wsdl:fault>
  475. <wsdl:fault name="NotifyMessageNotSupportedFault">
  476. <soap:fault name="NotifyMessageNotSupportedFault" use="literal"/>
  477. </wsdl:fault>
  478. <wsdl:fault name="SubscribeCreationFailedFault">
  479. <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
  480. </wsdl:fault>
  481. </wsdl:operation>
  482. <wsdl:operation name="GetEventProperties">
  483. <soap:operation soapAction="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetEventPropertiesRequest"/>
  484. <wsdl:input>
  485. <soap:body use="literal"/>
  486. </wsdl:input>
  487. <wsdl:output>
  488. <soap:body use="literal"/>
  489. </wsdl:output>
  490. </wsdl:operation>
  491. </wsdl:binding>
  492. <wsdl:binding name="SubscriptionManagerBinding" type="wsntw:SubscriptionManager">
  493. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  494. <wsdl:operation name="Renew">
  495. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewRequest"/>
  496. <wsdl:input name="RenewRequest">
  497. <soap:body use="literal"/>
  498. </wsdl:input>
  499. <wsdl:output name="RenewResponse">
  500. <soap:body use="literal"/>
  501. </wsdl:output>
  502. <wsdl:fault name="ResourceUnknownFault">
  503. <soap:fault name="ResourceUnknownFault" use="literal"/>
  504. </wsdl:fault>
  505. <wsdl:fault name="UnacceptableTerminationTimeFault">
  506. <soap:fault name="UnacceptableTerminationTimeFault" use="literal"/>
  507. </wsdl:fault>
  508. </wsdl:operation>
  509. <wsdl:operation name="Unsubscribe">
  510. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/UnsubscribeRequest"/>
  511. <wsdl:input name="UnsubscribeRequest">
  512. <soap:body use="literal"/>
  513. </wsdl:input>
  514. <wsdl:output name="UnsubscribeResponse">
  515. <soap:body use="literal"/>
  516. </wsdl:output>
  517. <wsdl:fault name="ResourceUnknownFault">
  518. <soap:fault name="ResourceUnknownFault" use="literal"/>
  519. </wsdl:fault>
  520. <wsdl:fault name="UnableToDestroySubscriptionFault">
  521. <soap:fault name="UnableToDestroySubscriptionFault" use="literal"/>
  522. </wsdl:fault>
  523. </wsdl:operation>
  524. </wsdl:binding>
  525. <wsdl:binding name="NotificationProducerBinding" type="wsntw:NotificationProducer">
  526. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  527. <wsdl:operation name="Subscribe">
  528. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest"/>
  529. <wsdl:input>
  530. <soap:body use="literal"/>
  531. </wsdl:input>
  532. <wsdl:output>
  533. <soap:body use="literal"/>
  534. </wsdl:output>
  535. <wsdl:fault name="ResourceUnknownFault">
  536. <soap:fault name="ResourceUnknownFault" use="literal"/>
  537. </wsdl:fault>
  538. <wsdl:fault name="InvalidFilterFault">
  539. <soap:fault name="InvalidFilterFault" use="literal"/>
  540. </wsdl:fault>
  541. <wsdl:fault name="TopicExpressionDialectUnknownFault">
  542. <soap:fault name="TopicExpressionDialectUnknownFault" use="literal"/>
  543. </wsdl:fault>
  544. <wsdl:fault name="InvalidTopicExpressionFault">
  545. <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
  546. </wsdl:fault>
  547. <wsdl:fault name="TopicNotSupportedFault">
  548. <soap:fault name="TopicNotSupportedFault" use="literal"/>
  549. </wsdl:fault>
  550. <wsdl:fault name="InvalidProducerPropertiesExpressionFault">
  551. <soap:fault name="InvalidProducerPropertiesExpressionFault" use="literal"/>
  552. </wsdl:fault>
  553. <wsdl:fault name="InvalidMessageContentExpressionFault">
  554. <soap:fault name="InvalidMessageContentExpressionFault" use="literal"/>
  555. </wsdl:fault>
  556. <wsdl:fault name="UnacceptableInitialTerminationTimeFault">
  557. <soap:fault name="UnacceptableInitialTerminationTimeFault" use="literal"/>
  558. </wsdl:fault>
  559. <wsdl:fault name="UnrecognizedPolicyRequestFault">
  560. <soap:fault name="UnrecognizedPolicyRequestFault" use="literal"/>
  561. </wsdl:fault>
  562. <wsdl:fault name="UnsupportedPolicyRequestFault">
  563. <soap:fault name="UnsupportedPolicyRequestFault" use="literal"/>
  564. </wsdl:fault>
  565. <wsdl:fault name="NotifyMessageNotSupportedFault">
  566. <soap:fault name="NotifyMessageNotSupportedFault" use="literal"/>
  567. </wsdl:fault>
  568. <wsdl:fault name="SubscribeCreationFailedFault">
  569. <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
  570. </wsdl:fault>
  571. </wsdl:operation>
  572. <wsdl:operation name="GetCurrentMessage">
  573. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/GetCurrentMessageRequest"/>
  574. <wsdl:input>
  575. <soap:body use="literal"/>
  576. </wsdl:input>
  577. <wsdl:output>
  578. <soap:body use="literal"/>
  579. </wsdl:output>
  580. <wsdl:fault name="ResourceUnknownFault">
  581. <soap:fault name="ResourceUnknownFault" use="literal"/>
  582. </wsdl:fault>
  583. <wsdl:fault name="TopicExpressionDialectUnknownFault">
  584. <soap:fault name="TopicExpressionDialectUnknownFault" use="literal"/>
  585. </wsdl:fault>
  586. <wsdl:fault name="InvalidTopicExpressionFault">
  587. <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
  588. </wsdl:fault>
  589. <wsdl:fault name="TopicNotSupportedFault">
  590. <soap:fault name="TopicNotSupportedFault" use="literal"/>
  591. </wsdl:fault>
  592. <wsdl:fault name="NoCurrentMessageOnTopicFault">
  593. <soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
  594. </wsdl:fault>
  595. <wsdl:fault name="MultipleTopicsSpecifiedFault">
  596. <soap:fault name="MultipleTopicsSpecifiedFault" use="literal"/>
  597. </wsdl:fault>
  598. </wsdl:operation>
  599. </wsdl:binding>
  600. <wsdl:binding name="NotificationConsumerBinding" type="wsntw:NotificationConsumer">
  601. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  602. <wsdl:operation name="Notify">
  603. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify"/>
  604. <wsdl:input>
  605. <soap:body use="literal"/>
  606. </wsdl:input>
  607. </wsdl:operation>
  608. </wsdl:binding>
  609. <wsdl:binding name="PullPointBinding" type="wsntw:PullPoint">
  610. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  611. <wsdl:operation name="GetMessages">
  612. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PullPoint/GetMessagesRequest"/>
  613. <wsdl:input name="GetMessagesRequest">
  614. <soap:body use="literal"/>
  615. </wsdl:input>
  616. <wsdl:output name="GetMessagesResponse">
  617. <soap:body use="literal"/>
  618. </wsdl:output>
  619. <wsdl:fault name="ResourceUnknownFault">
  620. <soap:fault name="ResourceUnknownFault" use="literal"/>
  621. </wsdl:fault>
  622. <wsdl:fault name="UnableToGetMessagesFault">
  623. <soap:fault name="UnableToGetMessagesFault" use="literal"/>
  624. </wsdl:fault>
  625. </wsdl:operation>
  626. <wsdl:operation name="DestroyPullPoint">
  627. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PullPoint/DestroyPullPointRequest"/>
  628. <wsdl:input name="DestroyPullPointRequest">
  629. <soap:body use="literal"/>
  630. </wsdl:input>
  631. <wsdl:output name="DestroyPullPointResponse">
  632. <soap:body use="literal"/>
  633. </wsdl:output>
  634. <wsdl:fault name="ResourceUnknownFault">
  635. <soap:fault name="ResourceUnknownFault" use="literal"/>
  636. </wsdl:fault>
  637. <wsdl:fault name="UnableToDestroyPullPointFault">
  638. <soap:fault name="UnableToDestroyPullPointFault" use="literal"/>
  639. </wsdl:fault>
  640. </wsdl:operation>
  641. <wsdl:operation name="Notify">
  642. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PullPoint/Notify"/>
  643. <wsdl:input>
  644. <soap:body use="literal"/>
  645. </wsdl:input>
  646. </wsdl:operation>
  647. </wsdl:binding>
  648. <wsdl:binding name="CreatePullPointBinding" type="wsntw:CreatePullPoint">
  649. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  650. <wsdl:operation name="CreatePullPoint">
  651. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/CreatePullPoint/CreatePullPointRequest"/>
  652. <wsdl:input name="CreatePullPointRequest">
  653. <soap:body use="literal"/>
  654. </wsdl:input>
  655. <wsdl:output name="CreatePullPointResponse">
  656. <soap:body use="literal"/>
  657. </wsdl:output>
  658. <wsdl:fault name="UnableToCreatePullPointFault">
  659. <soap:fault name="UnableToCreatePullPointFault" use="literal"/>
  660. </wsdl:fault>
  661. </wsdl:operation>
  662. </wsdl:binding>
  663. <wsdl:binding name="PausableSubscriptionManagerBinding" type="wsntw:PausableSubscriptionManager">
  664. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  665. <wsdl:operation name="Renew">
  666. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PausableSubscriptionManager/RenewRequest"/>
  667. <wsdl:input name="RenewRequest">
  668. <soap:body use="literal"/>
  669. </wsdl:input>
  670. <wsdl:output name="RenewResponse">
  671. <soap:body use="literal"/>
  672. </wsdl:output>
  673. <wsdl:fault name="ResourceUnknownFault">
  674. <soap:fault name="ResourceUnknownFault" use="literal"/>
  675. </wsdl:fault>
  676. <wsdl:fault name="UnacceptableTerminationTimeFault">
  677. <soap:fault name="UnacceptableTerminationTimeFault" use="literal"/>
  678. </wsdl:fault>
  679. </wsdl:operation>
  680. <wsdl:operation name="Unsubscribe">
  681. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PausableSubscriptionManager/UnsubscribeRequest"/>
  682. <wsdl:input name="UnsubscribeRequest">
  683. <soap:body use="literal"/>
  684. </wsdl:input>
  685. <wsdl:output name="UnsubscribeResponse">
  686. <soap:body use="literal"/>
  687. </wsdl:output>
  688. <wsdl:fault name="ResourceUnknownFault">
  689. <soap:fault name="ResourceUnknownFault" use="literal"/>
  690. </wsdl:fault>
  691. <wsdl:fault name="UnableToDestroySubscriptionFault">
  692. <soap:fault name="UnableToDestroySubscriptionFault" use="literal"/>
  693. </wsdl:fault>
  694. </wsdl:operation>
  695. <wsdl:operation name="PauseSubscription">
  696. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PausableSubscriptionManager/PauseSubscriptionRequest"/>
  697. <wsdl:input>
  698. <soap:body use="literal"/>
  699. </wsdl:input>
  700. <wsdl:output>
  701. <soap:body use="literal"/>
  702. </wsdl:output>
  703. <wsdl:fault name="ResourceUnknownFault">
  704. <soap:fault name="ResourceUnknownFault" use="literal"/>
  705. </wsdl:fault>
  706. <wsdl:fault name="PauseFailedFault">
  707. <soap:fault name="PauseFailedFault" use="literal"/>
  708. </wsdl:fault>
  709. </wsdl:operation>
  710. <wsdl:operation name="ResumeSubscription">
  711. <soap:operation soapAction="http://docs.oasis-open.org/wsn/bw-2/PausableSubscriptionManager/ResumeSubscriptionRequest"/>
  712. <wsdl:input>
  713. <soap:body use="literal"/>
  714. </wsdl:input>
  715. <wsdl:output>
  716. <soap:body use="literal"/>
  717. </wsdl:output>
  718. <wsdl:fault name="ResourceUnknownFault">
  719. <soap:fault name="ResourceUnknownFault" use="literal"/>
  720. </wsdl:fault>
  721. <wsdl:fault name="ResumeFailedFault">
  722. <soap:fault name="ResumeFailedFault" use="literal"/>
  723. </wsdl:fault>
  724. </wsdl:operation>
  725. </wsdl:binding>
  726. <wsdl:service name="EventService">
  727. <wsdl:port name="EventPortType" binding="tev:EventBinding">
  728. <soap:address location="http://192.168.0.51:8888/onvif/device_service"/>
  729. </wsdl:port>
  730. <wsdl:port name="PullPointSubscription" binding="tev:PullPointSubscriptionBinding">
  731. <soap:address location="http://192.168.0.51:8888/onvif/device_service"/>
  732. </wsdl:port>
  733. </wsdl:service>
  734. </wsdl:definitions>