receiver.wsdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  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-2010 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:xs="http://www.w3.org/2001/XMLSchema" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" targetNamespace="http://www.onvif.org/ver10/receiver/wsdl">
  10. <wsdl:types>
  11. <xs:schema targetNamespace="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="2.1.1">
  12. <xs:import namespace="http://www.onvif.org/ver10/schema" schemaLocation="onvif.xsd"/>
  13. <!-- Message Request/Responses elements -->
  14. <!--===============================-->
  15. <xs:element name="GetServiceCapabilities">
  16. <xs:complexType>
  17. <xs:sequence/>
  18. </xs:complexType>
  19. </xs:element>
  20. <xs:element name="GetServiceCapabilitiesResponse">
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element name="Capabilities" type="trv:Capabilities">
  24. <xs:annotation>
  25. <xs:documentation>The capabilities for the receiver service is returned in the Capabilities element.</xs:documentation>
  26. </xs:annotation>
  27. </xs:element>
  28. </xs:sequence>
  29. </xs:complexType>
  30. </xs:element>
  31. <!--===============================-->
  32. <xs:complexType name="Capabilities">
  33. <xs:sequence>
  34. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  35. </xs:sequence>
  36. <xs:attribute name="RTP_Multicast" type="xs:boolean">
  37. <xs:annotation>
  38. <xs:documentation>Indicates that the device can receive RTP multicast streams.</xs:documentation>
  39. </xs:annotation>
  40. </xs:attribute>
  41. <xs:attribute name="RTP_TCP" type="xs:boolean">
  42. <xs:annotation>
  43. <xs:documentation>Indicates that the device can receive RTP/TCP streams</xs:documentation>
  44. </xs:annotation>
  45. </xs:attribute>
  46. <xs:attribute name="RTP_RTSP_TCP" type="xs:boolean">
  47. <xs:annotation>
  48. <xs:documentation>Indicates that the device can receive RTP/RTSP/TCP streams.</xs:documentation>
  49. </xs:annotation>
  50. </xs:attribute>
  51. <xs:attribute name="SupportedReceivers" type="xs:int" use="required">
  52. <xs:annotation>
  53. <xs:documentation>The maximum number of receivers supported by the device.</xs:documentation>
  54. </xs:annotation>
  55. </xs:attribute>
  56. <xs:attribute name="MaximumRTSPURILength" type="xs:int">
  57. <xs:annotation>
  58. <xs:documentation>The maximum allowed length for RTSP URIs (Minimum and default value is 128 octet).</xs:documentation>
  59. </xs:annotation>
  60. </xs:attribute>
  61. <xs:anyAttribute processContents="lax"/>
  62. </xs:complexType>
  63. <xs:element name="Capabilities" type="trv:Capabilities"/>
  64. <!--===============================-->
  65. <xs:element name="GetReceivers">
  66. <xs:complexType>
  67. <xs:sequence>
  68. </xs:sequence>
  69. </xs:complexType>
  70. </xs:element>
  71. <xs:element name="GetReceiversResponse">
  72. <xs:complexType>
  73. <xs:sequence>
  74. <xs:element name="Receivers" type="tt:Receiver" minOccurs="0" maxOccurs="unbounded">
  75. <xs:annotation>
  76. <xs:documentation>A list of all receivers that currently exist on the device.</xs:documentation>
  77. </xs:annotation>
  78. </xs:element>
  79. </xs:sequence>
  80. </xs:complexType>
  81. </xs:element>
  82. <xs:element name="GetReceiver">
  83. <xs:complexType>
  84. <xs:sequence>
  85. <xs:element name="ReceiverToken" type="tt:ReferenceToken">
  86. <xs:annotation>
  87. <xs:documentation>The token of the receiver to be retrieved.</xs:documentation>
  88. </xs:annotation>
  89. </xs:element>
  90. </xs:sequence>
  91. </xs:complexType>
  92. </xs:element>
  93. <xs:element name="GetReceiverResponse">
  94. <xs:complexType>
  95. <xs:sequence>
  96. <xs:element name="Receiver" type="tt:Receiver">
  97. <xs:annotation>
  98. <xs:documentation>The details of the receiver.</xs:documentation>
  99. </xs:annotation>
  100. </xs:element>
  101. </xs:sequence>
  102. </xs:complexType>
  103. </xs:element>
  104. <xs:element name="CreateReceiver">
  105. <xs:complexType>
  106. <xs:sequence>
  107. <xs:element name="Configuration" type="tt:ReceiverConfiguration">
  108. <xs:annotation>
  109. <xs:documentation>The initial configuration for the new receiver.</xs:documentation>
  110. </xs:annotation>
  111. </xs:element>
  112. </xs:sequence>
  113. </xs:complexType>
  114. </xs:element>
  115. <xs:element name="CreateReceiverResponse">
  116. <xs:complexType>
  117. <xs:sequence>
  118. <xs:element name="Receiver" type="tt:Receiver">
  119. <xs:annotation>
  120. <xs:documentation>The details of the receiver that was created.</xs:documentation>
  121. </xs:annotation>
  122. </xs:element>
  123. </xs:sequence>
  124. </xs:complexType>
  125. </xs:element>
  126. <xs:element name="DeleteReceiver">
  127. <xs:complexType>
  128. <xs:sequence>
  129. <xs:element name="ReceiverToken" type="tt:ReferenceToken">
  130. <xs:annotation>
  131. <xs:documentation>The token of the receiver to be deleted.</xs:documentation>
  132. </xs:annotation>
  133. </xs:element>
  134. </xs:sequence>
  135. </xs:complexType>
  136. </xs:element>
  137. <xs:element name="DeleteReceiverResponse">
  138. <xs:complexType>
  139. <xs:sequence>
  140. </xs:sequence>
  141. </xs:complexType>
  142. </xs:element>
  143. <xs:element name="ConfigureReceiver">
  144. <xs:complexType>
  145. <xs:sequence>
  146. <xs:element name="ReceiverToken" type="tt:ReferenceToken">
  147. <xs:annotation>
  148. <xs:documentation>The token of the receiver to be configured.</xs:documentation>
  149. </xs:annotation>
  150. </xs:element>
  151. <xs:element name="Configuration" type="tt:ReceiverConfiguration">
  152. <xs:annotation>
  153. <xs:documentation>The new configuration for the receiver.</xs:documentation>
  154. </xs:annotation>
  155. </xs:element>
  156. </xs:sequence>
  157. </xs:complexType>
  158. </xs:element>
  159. <xs:element name="ConfigureReceiverResponse">
  160. <xs:complexType>
  161. <xs:sequence>
  162. </xs:sequence>
  163. </xs:complexType>
  164. </xs:element>
  165. <xs:element name="SetReceiverMode">
  166. <xs:complexType>
  167. <xs:sequence>
  168. <xs:element name="ReceiverToken" type="tt:ReferenceToken">
  169. <xs:annotation>
  170. <xs:documentation>The token of the receiver to be changed.</xs:documentation>
  171. </xs:annotation>
  172. </xs:element>
  173. <xs:element name="Mode" type="tt:ReceiverMode">
  174. <xs:annotation>
  175. <xs:documentation>The new receiver mode. Options available are:</xs:documentation>
  176. </xs:annotation>
  177. </xs:element>
  178. </xs:sequence>
  179. </xs:complexType>
  180. </xs:element>
  181. <xs:element name="SetReceiverModeResponse">
  182. <xs:complexType>
  183. <xs:sequence>
  184. </xs:sequence>
  185. </xs:complexType>
  186. </xs:element>
  187. <xs:element name="GetReceiverState">
  188. <xs:complexType>
  189. <xs:sequence>
  190. <xs:element name="ReceiverToken" type="tt:ReferenceToken">
  191. <xs:annotation>
  192. <xs:documentation>The token of the receiver to be queried.</xs:documentation>
  193. </xs:annotation>
  194. </xs:element>
  195. </xs:sequence>
  196. </xs:complexType>
  197. </xs:element>
  198. <xs:element name="GetReceiverStateResponse">
  199. <xs:complexType>
  200. <xs:sequence>
  201. <xs:element name="ReceiverState" type="tt:ReceiverStateInformation">
  202. <xs:annotation>
  203. <xs:documentation>Description of the current receiver state.</xs:documentation>
  204. </xs:annotation>
  205. </xs:element>
  206. </xs:sequence>
  207. </xs:complexType>
  208. </xs:element>
  209. </xs:schema>
  210. </wsdl:types>
  211. <wsdl:message name="GetServiceCapabilitiesRequest">
  212. <wsdl:part name="parameters" element="trv:GetServiceCapabilities"/>
  213. </wsdl:message>
  214. <wsdl:message name="GetServiceCapabilitiesResponse">
  215. <wsdl:part name="parameters" element="trv:GetServiceCapabilitiesResponse"/>
  216. </wsdl:message>
  217. <wsdl:message name="GetReceiversRequest">
  218. <wsdl:part name="parameters" element="trv:GetReceivers"/>
  219. </wsdl:message>
  220. <wsdl:message name="GetReceiversResponse">
  221. <wsdl:part name="parameters" element="trv:GetReceiversResponse"/>
  222. </wsdl:message>
  223. <wsdl:message name="GetReceiverRequest">
  224. <wsdl:part name="parameters" element="trv:GetReceiver"/>
  225. </wsdl:message>
  226. <wsdl:message name="GetReceiverResponse">
  227. <wsdl:part name="parameters" element="trv:GetReceiverResponse"/>
  228. </wsdl:message>
  229. <wsdl:message name="CreateReceiverRequest">
  230. <wsdl:part name="parameters" element="trv:CreateReceiver"/>
  231. </wsdl:message>
  232. <wsdl:message name="CreateReceiverResponse">
  233. <wsdl:part name="parameters" element="trv:CreateReceiverResponse"/>
  234. </wsdl:message>
  235. <wsdl:message name="DeleteReceiverRequest">
  236. <wsdl:part name="parameters" element="trv:DeleteReceiver"/>
  237. </wsdl:message>
  238. <wsdl:message name="DeleteReceiverResponse">
  239. <wsdl:part name="parameters" element="trv:DeleteReceiverResponse"/>
  240. </wsdl:message>
  241. <wsdl:message name="ConfigureReceiverRequest">
  242. <wsdl:part name="parameters" element="trv:ConfigureReceiver"/>
  243. </wsdl:message>
  244. <wsdl:message name="ConfigureReceiverResponse">
  245. <wsdl:part name="parameters" element="trv:ConfigureReceiverResponse"/>
  246. </wsdl:message>
  247. <wsdl:message name="SetReceiverModeRequest">
  248. <wsdl:part name="parameters" element="trv:SetReceiverMode"/>
  249. </wsdl:message>
  250. <wsdl:message name="SetReceiverModeResponse">
  251. <wsdl:part name="parameters" element="trv:SetReceiverModeResponse"/>
  252. </wsdl:message>
  253. <wsdl:message name="GetReceiverStateRequest">
  254. <wsdl:part name="parameters" element="trv:GetReceiverState"/>
  255. </wsdl:message>
  256. <wsdl:message name="GetReceiverStateResponse">
  257. <wsdl:part name="parameters" element="trv:GetReceiverStateResponse"/>
  258. </wsdl:message>
  259. <wsdl:portType name="ReceiverPort">
  260. <wsdl:operation name="GetServiceCapabilities">
  261. <wsdl:documentation>Returns the capabilities of the receiver service. The result is returned in a typed answer.</wsdl:documentation>
  262. <wsdl:input message="trv:GetServiceCapabilitiesRequest"/>
  263. <wsdl:output message="trv:GetServiceCapabilitiesResponse"/>
  264. </wsdl:operation>
  265. <wsdl:operation name="GetReceivers">
  266. <wsdl:documentation>
  267. Lists all receivers currently present on a device. This operation is mandatory.
  268. </wsdl:documentation>
  269. <wsdl:input message="trv:GetReceiversRequest"/>
  270. <wsdl:output message="trv:GetReceiversResponse"/>
  271. </wsdl:operation>
  272. <wsdl:operation name="GetReceiver">
  273. <wsdl:documentation>
  274. Retrieves the details of a specific receiver. This operation is mandatory.
  275. </wsdl:documentation>
  276. <wsdl:input message="trv:GetReceiverRequest"/>
  277. <wsdl:output message="trv:GetReceiverResponse"/>
  278. </wsdl:operation>
  279. <wsdl:operation name="CreateReceiver">
  280. <wsdl:documentation>
  281. Creates a new receiver. This operation is mandatory, although the service may
  282. raise a fault if the receiver cannot be created.
  283. </wsdl:documentation>
  284. <wsdl:input message="trv:CreateReceiverRequest"/>
  285. <wsdl:output message="trv:CreateReceiverResponse"/>
  286. </wsdl:operation>
  287. <wsdl:operation name="DeleteReceiver">
  288. <wsdl:documentation>
  289. Deletes an existing receiver. A receiver may be deleted only if it is not
  290. currently in use; otherwise a fault shall be raised.
  291. This operation is mandatory.
  292. </wsdl:documentation>
  293. <wsdl:input message="trv:DeleteReceiverRequest"/>
  294. <wsdl:output message="trv:DeleteReceiverResponse"/>
  295. </wsdl:operation>
  296. <wsdl:operation name="ConfigureReceiver">
  297. <wsdl:documentation>
  298. Configures an existing receiver. This operation is mandatory.
  299. </wsdl:documentation>
  300. <wsdl:input message="trv:ConfigureReceiverRequest"/>
  301. <wsdl:output message="trv:ConfigureReceiverResponse"/>
  302. </wsdl:operation>
  303. <wsdl:operation name="SetReceiverMode">
  304. <wsdl:documentation>
  305. Sets the mode of the receiver without affecting the rest of its configuration.
  306. This operation is mandatory.
  307. </wsdl:documentation>
  308. <wsdl:input message="trv:SetReceiverModeRequest"/>
  309. <wsdl:output message="trv:SetReceiverModeResponse"/>
  310. </wsdl:operation>
  311. <wsdl:operation name="GetReceiverState">
  312. <wsdl:documentation>
  313. Determines whether the receiver is currently disconnected, connected or
  314. attempting to connect.
  315. This operation is mandatory.
  316. </wsdl:documentation>
  317. <wsdl:input message="trv:GetReceiverStateRequest"/>
  318. <wsdl:output message="trv:GetReceiverStateResponse"/>
  319. </wsdl:operation>
  320. </wsdl:portType>
  321. <wsdl:binding name="ReceiverBinding" type="trv:ReceiverPort">
  322. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  323. <wsdl:operation name="GetServiceCapabilities">
  324. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/GetServiceCapabilities"/>
  325. <wsdl:input>
  326. <soap:body use="literal"/>
  327. </wsdl:input>
  328. <wsdl:output>
  329. <soap:body use="literal"/>
  330. </wsdl:output>
  331. </wsdl:operation>
  332. <wsdl:operation name="GetReceivers">
  333. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/GetReceivers"/>
  334. <wsdl:input>
  335. <soap:body parts="parameters" use="literal"/>
  336. </wsdl:input>
  337. <wsdl:output>
  338. <soap:body parts="parameters" use="literal"/>
  339. </wsdl:output>
  340. </wsdl:operation>
  341. <wsdl:operation name="GetReceiver">
  342. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/GetReceiver"/>
  343. <wsdl:input>
  344. <soap:body parts="parameters" use="literal"/>
  345. </wsdl:input>
  346. <wsdl:output>
  347. <soap:body parts="parameters" use="literal"/>
  348. </wsdl:output>
  349. </wsdl:operation>
  350. <wsdl:operation name="CreateReceiver">
  351. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/CreateReceiver"/>
  352. <wsdl:input>
  353. <soap:body parts="parameters" use="literal"/>
  354. </wsdl:input>
  355. <wsdl:output>
  356. <soap:body parts="parameters" use="literal"/>
  357. </wsdl:output>
  358. </wsdl:operation>
  359. <wsdl:operation name="DeleteReceiver">
  360. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/DeleteReceiver"/>
  361. <wsdl:input>
  362. <soap:body parts="parameters" use="literal"/>
  363. </wsdl:input>
  364. <wsdl:output>
  365. <soap:body parts="parameters" use="literal"/>
  366. </wsdl:output>
  367. </wsdl:operation>
  368. <wsdl:operation name="ConfigureReceiver">
  369. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/ConfigureReceiver"/>
  370. <wsdl:input>
  371. <soap:body parts="parameters" use="literal"/>
  372. </wsdl:input>
  373. <wsdl:output>
  374. <soap:body parts="parameters" use="literal"/>
  375. </wsdl:output>
  376. </wsdl:operation>
  377. <wsdl:operation name="SetReceiverMode">
  378. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/SetReceiverMode"/>
  379. <wsdl:input>
  380. <soap:body parts="parameters" use="literal"/>
  381. </wsdl:input>
  382. <wsdl:output>
  383. <soap:body parts="parameters" use="literal"/>
  384. </wsdl:output>
  385. </wsdl:operation>
  386. <wsdl:operation name="GetReceiverState">
  387. <soap:operation soapAction="http://www.onvif.org/ver10/receiver/wsdl/GetReceiverState"/>
  388. <wsdl:input>
  389. <soap:body parts="parameters" use="literal"/>
  390. </wsdl:input>
  391. <wsdl:output>
  392. <soap:body parts="parameters" use="literal"/>
  393. </wsdl:output>
  394. </wsdl:operation>
  395. </wsdl:binding>
  396. <wsdl:service name="ReceiverService">
  397. <wsdl:port name="ReceiverPort" binding="trv:ReceiverBinding">
  398. <soap:address location="http://192.168.0.51:8888/onvif/Receiver"/>
  399. </wsdl:port>
  400. </wsdl:service>
  401. </wsdl:definitions>