doorcontrol.wsdl 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
  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) 2010-2013 by ONVIF: Open Network Video Interface Forum. All rights reserved.
  5. Recipients of this document may copy, distribute, publish, or display this
  6. document so long as this copyright notice, license and disclaimer are
  7. retained with all copies of the document.
  8. THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND
  9. THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
  10. INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY,
  11. FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE;
  12. THAT THE CONTENTS OF THIS DOCUMENT ARE SUITABLE FOR ANY PURPOSE;
  13. OR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS,
  14. COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
  15. IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE
  16. FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
  17. DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS
  18. DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES
  19. HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES
  20. WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR
  21. DISTRIBUTION OF THIS DOCUMENT.
  22. THE FOREGOING DISCLAIMER AND LIMITATION ON LIABILITY DO NOT APPLY TO,
  23. INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES MADE BY THE MEMBERS
  24. AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND OTHER MEMBERS IN
  25. CERTAIN WRITTEN POLICIES OF THE CORPORATION.
  26. -->
  27. <wsdl:definitions name="DoorControlService" targetNamespace="http://www.onvif.org/ver10/doorcontrol/wsdl"
  28. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  29. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"
  30. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  31. xmlns:tdc="http://www.onvif.org/ver10/doorcontrol/wsdl"
  32. >
  33. <wsdl:types>
  34. <xs:schema targetNamespace="http://www.onvif.org/ver10/doorcontrol/wsdl"
  35. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  36. xmlns:pt="http://www.onvif.org/ver10/pacs"
  37. xmlns:tdc="http://www.onvif.org/ver10/doorcontrol/wsdl"
  38. elementFormDefault="qualified"
  39. version="1.0">
  40. <xs:import namespace="http://www.onvif.org/ver10/pacs" schemaLocation="./types.xsd"/>
  41. <!--====== types ======-->
  42. <xs:complexType name="ServiceCapabilities">
  43. <xs:annotation>
  44. <xs:documentation>
  45. ServiceCapabilities structure reflects optional functionality of a service.
  46. The information is static and does not change during device operation.
  47. The following capabilities are available:
  48. </xs:documentation>
  49. </xs:annotation>
  50. <xs:sequence>
  51. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  52. </xs:sequence>
  53. <xs:attribute name="MaxLimit" type="xs:unsignedInt" use="required"><xs:annotation>
  54. <xs:documentation>The maximum number of entries returned by a single Get&lt;Entity&gt;List or Get&lt;Entity&gt; request. The device shall never return more than this number of entities in a single response.</xs:documentation>
  55. </xs:annotation></xs:attribute>
  56. <xs:anyAttribute processContents="lax"/>
  57. </xs:complexType>
  58. <!--===============================-->
  59. <xs:complexType name="DoorInfoBase">
  60. <xs:annotation>
  61. <xs:documentation>
  62. Used as extension base.
  63. </xs:documentation>
  64. </xs:annotation>
  65. <xs:complexContent>
  66. <xs:extension base="pt:DataEntity">
  67. <xs:sequence>
  68. <xs:element name="Name" type="pt:Name"><xs:annotation>
  69. <xs:documentation>A user readable name. It shall be up to 64 characters.</xs:documentation>
  70. </xs:annotation></xs:element>
  71. <xs:element name="Description" type="pt:Description" minOccurs="0"><xs:annotation>
  72. <xs:documentation>A user readable description. It shall be up to 1024 characters.</xs:documentation>
  73. </xs:annotation></xs:element>
  74. </xs:sequence>
  75. </xs:extension>
  76. </xs:complexContent>
  77. </xs:complexType>
  78. <!--===============================-->
  79. <xs:complexType name="DoorInfo">
  80. <xs:annotation>
  81. <xs:documentation>
  82. The DoorInfo type represents the Door as a physical object.
  83. The structure contains information and capabilities of a specific door instance.
  84. An ONVIF compliant device shall provide the following fields for each Door instance:
  85. </xs:documentation>
  86. </xs:annotation>
  87. <xs:complexContent>
  88. <xs:extension base="tdc:DoorInfoBase">
  89. <xs:sequence>
  90. <xs:element name="Capabilities" type="tdc:DoorCapabilities"><xs:annotation>
  91. <xs:documentation>The capabilities of the Door.</xs:documentation>
  92. </xs:annotation></xs:element>
  93. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  94. </xs:sequence>
  95. <xs:anyAttribute processContents="lax"/>
  96. </xs:extension>
  97. </xs:complexContent>
  98. </xs:complexType>
  99. <!--===============================-->
  100. <xs:complexType name="DoorCapabilities">
  101. <xs:annotation>
  102. <xs:documentation>
  103. DoorCapabilities reflect optional functionality of a particular physical entity.
  104. Different door instances may have different set of capabilities.
  105. This information may change during device operation, e.g. if hardware settings are changed.
  106. The following capabilities are available:
  107. </xs:documentation>
  108. </xs:annotation>
  109. <xs:sequence>
  110. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  111. </xs:sequence>
  112. <xs:attribute name="Access" type="xs:boolean"><xs:annotation>
  113. <xs:documentation>Indicates whether or not this Door instance supports AccessDoor command to perform momentary access.</xs:documentation>
  114. </xs:annotation></xs:attribute>
  115. <xs:attribute name="AccessTimingOverride" type="xs:boolean"><xs:annotation>
  116. <xs:documentation>Indicates that this Door instance supports overriding configured timing in the AccessDoor command.</xs:documentation>
  117. </xs:annotation></xs:attribute>
  118. <xs:attribute name="Lock" type="xs:boolean"><xs:annotation>
  119. <xs:documentation>Indicates that this Door instance supports LockDoor command to lock the door.</xs:documentation>
  120. </xs:annotation></xs:attribute>
  121. <xs:attribute name="Unlock" type="xs:boolean"><xs:annotation>
  122. <xs:documentation>Indicates that this Door instance supports UnlockDoor command to unlock the door.</xs:documentation>
  123. </xs:annotation></xs:attribute>
  124. <xs:attribute name="Block" type="xs:boolean"><xs:annotation>
  125. <xs:documentation>Indicates that this Door instance supports BlockDoor command to block the door.</xs:documentation>
  126. </xs:annotation></xs:attribute>
  127. <xs:attribute name="DoubleLock" type="xs:boolean"><xs:annotation>
  128. <xs:documentation>Indicates that this Door instance supports DoubleLockDoor command to lock multiple locks on the door.</xs:documentation>
  129. </xs:annotation></xs:attribute>
  130. <xs:attribute name="LockDown" type="xs:boolean"><xs:annotation>
  131. <xs:documentation>Indicates that this Door instance supports LockDown (and LockDownRelease) commands to lock the door and put it in LockedDown mode.</xs:documentation>
  132. </xs:annotation></xs:attribute>
  133. <xs:attribute name="LockOpen" type="xs:boolean"><xs:annotation>
  134. <xs:documentation>Indicates that this Door instance supports LockOpen (and LockOpenRelease) commands to unlock the door and put it in LockedOpen mode.</xs:documentation>
  135. </xs:annotation></xs:attribute>
  136. <xs:attribute name="DoorMonitor" type="xs:boolean"><xs:annotation>
  137. <xs:documentation>Indicates that this Door instance has a DoorMonitor and supports the DoorPhysicalState event.</xs:documentation>
  138. </xs:annotation></xs:attribute>
  139. <xs:attribute name="LockMonitor" type="xs:boolean"><xs:annotation>
  140. <xs:documentation>Indicates that this Door instance has a LockMonitor and supports the LockPhysicalState event.</xs:documentation>
  141. </xs:annotation></xs:attribute>
  142. <xs:attribute name="DoubleLockMonitor" type="xs:boolean"><xs:annotation>
  143. <xs:documentation>Indicates that this Door instance has a DoubleLockMonitor and supports the DoubleLockPhysicalState event.</xs:documentation>
  144. </xs:annotation></xs:attribute>
  145. <xs:attribute name="Alarm" type="xs:boolean"><xs:annotation>
  146. <xs:documentation>Indicates that this Door instance supports door alarm and the DoorAlarm event.</xs:documentation>
  147. </xs:annotation></xs:attribute>
  148. <xs:attribute name="Tamper" type="xs:boolean"><xs:annotation>
  149. <xs:documentation>Indicates that this Door instance has a Tamper detector and supports the DoorTamper event.</xs:documentation>
  150. </xs:annotation></xs:attribute>
  151. <xs:attribute name="Fault" type="xs:boolean"><xs:annotation>
  152. <xs:documentation>Indicates that this Door instance supports door fault and the DoorFault event.</xs:documentation>
  153. </xs:annotation></xs:attribute>
  154. <xs:anyAttribute processContents="lax"/>
  155. </xs:complexType>
  156. <!--===============================-->
  157. <xs:complexType name="DoorState">
  158. <xs:annotation>
  159. <xs:documentation>
  160. The DoorState structure contains current aggregate runtime status of Door.
  161. </xs:documentation>
  162. </xs:annotation>
  163. <xs:sequence>
  164. <xs:element name="DoorPhysicalState" type="tdc:DoorPhysicalState" minOccurs="0"><xs:annotation>
  165. <xs:documentation>Physical state of Door; it is of type DoorPhysicalState. A device that signals support for DoorMonitor capability for a particular door instance shall provide this field.</xs:documentation>
  166. </xs:annotation></xs:element>
  167. <xs:element name="LockPhysicalState" type="tdc:LockPhysicalState" minOccurs="0"><xs:annotation>
  168. <xs:documentation>Physical state of the Lock; it is of type LockPhysicalState. A device that signals support for LockMonitor capability for a particular door instance shall provide this field.</xs:documentation>
  169. </xs:annotation></xs:element>
  170. <xs:element name="DoubleLockPhysicalState" type="tdc:LockPhysicalState" minOccurs="0"><xs:annotation>
  171. <xs:documentation>Physical state of the DoubleLock; it is of type LockPhysicalState. A device that signals support for DoubleLockMonitor capability for a particular door instance shall provide this field.</xs:documentation>
  172. </xs:annotation></xs:element>
  173. <xs:element name="Alarm" type="tdc:DoorAlarmState" minOccurs="0"><xs:annotation>
  174. <xs:documentation>Alarm state of the door; it is of type DoorAlarmState. A device that signals support for Alarm capability for a particular door instance shall provide this field.</xs:documentation>
  175. </xs:annotation></xs:element>
  176. <xs:element name="Tamper" type="tdc:DoorTamper" minOccurs="0"><xs:annotation>
  177. <xs:documentation>Tampering state of the door; it is of type DoorTamper. A device that signals support for Tamper capability for a particular door instance shall provide this field.</xs:documentation>
  178. </xs:annotation></xs:element>
  179. <xs:element name="Fault" type="tdc:DoorFault" minOccurs="0"><xs:annotation>
  180. <xs:documentation>Fault information for door; it is of type DoorFault. A device that signals support for Fault capability for a particular door instance shall provide this field.</xs:documentation>
  181. </xs:annotation></xs:element>
  182. <xs:element name="DoorMode" type="tdc:DoorMode"><xs:annotation>
  183. <xs:documentation>The logical operating mode of the door; it is of type DoorMode. An ONVIF compatible device shall report current operating mode in this field.</xs:documentation>
  184. </xs:annotation></xs:element>
  185. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  186. </xs:sequence>
  187. <xs:anyAttribute processContents="lax"/>
  188. </xs:complexType>
  189. <!--===============================-->
  190. <xs:simpleType name="DoorPhysicalState">
  191. <xs:annotation>
  192. <xs:documentation>
  193. The physical state of a Door.
  194. </xs:documentation>
  195. </xs:annotation>
  196. <xs:restriction base="xs:string">
  197. <xs:enumeration value="Unknown">
  198. <xs:annotation><xs:documentation>Value is currently unknown (possibly due to initialization or monitors not giving a conclusive result).</xs:documentation></xs:annotation>
  199. </xs:enumeration>
  200. <xs:enumeration value="Open">
  201. <xs:annotation><xs:documentation>Door is open.</xs:documentation></xs:annotation>
  202. </xs:enumeration>
  203. <xs:enumeration value="Closed">
  204. <xs:annotation><xs:documentation>Door is closed.</xs:documentation></xs:annotation>
  205. </xs:enumeration>
  206. <xs:enumeration value="Fault">
  207. <xs:annotation><xs:documentation>Door monitor fault is detected.</xs:documentation></xs:annotation>
  208. </xs:enumeration>
  209. </xs:restriction>
  210. </xs:simpleType>
  211. <!--===============================-->
  212. <xs:simpleType name="LockPhysicalState">
  213. <xs:annotation>
  214. <xs:documentation>
  215. The physical state of a Lock (including Double Lock).
  216. </xs:documentation>
  217. </xs:annotation>
  218. <xs:restriction base="xs:string">
  219. <xs:enumeration value="Unknown">
  220. <xs:annotation><xs:documentation>Value is currently not known.</xs:documentation></xs:annotation>
  221. </xs:enumeration>
  222. <xs:enumeration value="Locked">
  223. <xs:annotation><xs:documentation>Lock is activated.</xs:documentation></xs:annotation>
  224. </xs:enumeration>
  225. <xs:enumeration value="Unlocked">
  226. <xs:annotation><xs:documentation>Lock is not activated.</xs:documentation></xs:annotation>
  227. </xs:enumeration>
  228. <xs:enumeration value="Fault">
  229. <xs:annotation><xs:documentation>Lock fault is detected.</xs:documentation></xs:annotation>
  230. </xs:enumeration>
  231. </xs:restriction>
  232. </xs:simpleType>
  233. <!--===============================-->
  234. <xs:simpleType name="DoorAlarmState">
  235. <xs:annotation>
  236. <xs:documentation>
  237. Describes the state of a Door with regard to alarms.
  238. </xs:documentation>
  239. </xs:annotation>
  240. <xs:restriction base="xs:string">
  241. <xs:enumeration value="Normal">
  242. <xs:annotation><xs:documentation>No alarm.</xs:documentation></xs:annotation>
  243. </xs:enumeration>
  244. <xs:enumeration value="DoorForcedOpen">
  245. <xs:annotation><xs:documentation>Door is forced open.</xs:documentation></xs:annotation>
  246. </xs:enumeration>
  247. <xs:enumeration value="DoorOpenTooLong">
  248. <xs:annotation><xs:documentation>Door is held open too long.</xs:documentation></xs:annotation>
  249. </xs:enumeration>
  250. </xs:restriction>
  251. </xs:simpleType>
  252. <!--===============================-->
  253. <xs:complexType name="DoorTamper">
  254. <xs:annotation>
  255. <xs:documentation>
  256. Tampering information for a Door.
  257. </xs:documentation>
  258. </xs:annotation>
  259. <xs:sequence>
  260. <xs:element name="Reason" type="xs:string" minOccurs="0"><xs:annotation>
  261. <xs:documentation>Optional field; Details describing tampering state change (e.g., reason, place and time). <br/>NOTE: All fields (including this one) which are designed to give end-user prompts can be localized to the customers's native language.</xs:documentation>
  262. </xs:annotation></xs:element>
  263. <xs:element name="State" type="tdc:DoorTamperState"><xs:annotation>
  264. <xs:documentation>State of the tamper detector; it is of type DoorTamperState.</xs:documentation>
  265. </xs:annotation></xs:element>
  266. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  267. </xs:sequence>
  268. <xs:anyAttribute processContents="lax"/>
  269. </xs:complexType>
  270. <!--===============================-->
  271. <xs:simpleType name="DoorTamperState">
  272. <xs:annotation>
  273. <xs:documentation>
  274. Describes the state of a Tamper detector.
  275. </xs:documentation>
  276. </xs:annotation>
  277. <xs:restriction base="xs:string">
  278. <xs:enumeration value="Unknown">
  279. <xs:annotation><xs:documentation>Value is currently not known.</xs:documentation></xs:annotation>
  280. </xs:enumeration>
  281. <xs:enumeration value="NotInTamper">
  282. <xs:annotation><xs:documentation>No tampering is detected.</xs:documentation></xs:annotation>
  283. </xs:enumeration>
  284. <xs:enumeration value="TamperDetected">
  285. <xs:annotation><xs:documentation>Tampering is detected.</xs:documentation></xs:annotation>
  286. </xs:enumeration>
  287. </xs:restriction>
  288. </xs:simpleType>
  289. <!--===============================-->
  290. <xs:complexType name="DoorFault">
  291. <xs:annotation>
  292. <xs:documentation>
  293. Fault information for a Door.
  294. This can be extended with optional attributes in the future.</xs:documentation>
  295. </xs:annotation>
  296. <xs:sequence>
  297. <xs:element name="Reason" type="xs:string" minOccurs="0"><xs:annotation>
  298. <xs:documentation>Optional reason for fault.</xs:documentation>
  299. </xs:annotation></xs:element>
  300. <xs:element name="State" type="tdc:DoorFaultState"><xs:annotation>
  301. <xs:documentation>Overall fault state for the door; it is of type DoorFaultState. If there are any faults, the value shall be: FaultDetected. Details of the detected fault shall be found in the Reason field, and/or the various DoorState fields and/or in extensions to this structure.</xs:documentation>
  302. </xs:annotation></xs:element>
  303. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  304. </xs:sequence>
  305. <xs:anyAttribute processContents="lax"/>
  306. </xs:complexType>
  307. <!--===============================-->
  308. <xs:simpleType name="DoorFaultState">
  309. <xs:annotation>
  310. <xs:documentation>
  311. Describes the state of a Door fault.
  312. </xs:documentation>
  313. </xs:annotation>
  314. <xs:restriction base="xs:string">
  315. <xs:enumeration value="Unknown">
  316. <xs:annotation><xs:documentation>Fault state is unknown.</xs:documentation></xs:annotation>
  317. </xs:enumeration>
  318. <xs:enumeration value="NotInFault">
  319. <xs:annotation><xs:documentation>No fault is detected.</xs:documentation></xs:annotation>
  320. </xs:enumeration>
  321. <xs:enumeration value="FaultDetected">
  322. <xs:annotation><xs:documentation>Fault is detected.</xs:documentation></xs:annotation>
  323. </xs:enumeration>
  324. </xs:restriction>
  325. </xs:simpleType>
  326. <!--===============================-->
  327. <xs:simpleType name="DoorMode">
  328. <xs:annotation>
  329. <xs:documentation>
  330. DoorMode parameters describe current Door mode from a logical perspective.
  331. </xs:documentation>
  332. </xs:annotation>
  333. <xs:restriction base="xs:string">
  334. <xs:enumeration value="Unknown">
  335. <xs:annotation><xs:documentation>The Door is in an Unknown state.</xs:documentation></xs:annotation>
  336. </xs:enumeration>
  337. <xs:enumeration value="Locked">
  338. <xs:annotation><xs:documentation>The Door is in a Locked state. In this mode the device shall provide momentary access using the AccessDoor method if supported by the Door instance.</xs:documentation></xs:annotation>
  339. </xs:enumeration>
  340. <xs:enumeration value="Unlocked">
  341. <xs:annotation><xs:documentation>The Door is in an Unlocked (Permanent Access) state. Alarms related to door timing operations such as open too long or forced are masked in this mode.</xs:documentation></xs:annotation>
  342. </xs:enumeration>
  343. <xs:enumeration value="Accessed">
  344. <xs:annotation><xs:documentation>The Door is in an Accessed state (momentary/temporary access). Alarms related to timing operations such as "door forced" are masked in this mode.</xs:documentation></xs:annotation>
  345. </xs:enumeration>
  346. <xs:enumeration value="Blocked">
  347. <xs:annotation><xs:documentation>The Door is in a Blocked state (Door is locked, and AccessDoor requests are ignored, i.e., it is not possible for door to go to Accessed state).</xs:documentation></xs:annotation>
  348. </xs:enumeration>
  349. <xs:enumeration value="LockedDown">
  350. <xs:annotation><xs:documentation>The Door is in a LockedDown state (Door is locked) until released using the LockDownReleaseDoor command. AccessDoor, LockDoor, UnlockDoor, BlockDoor and LockOpenDoor requests are ignored, i.e., it is not possible for door to go to Accessed, Locked, Unlocked, Blocked or LockedOpen state.</xs:documentation></xs:annotation>
  351. </xs:enumeration>
  352. <xs:enumeration value="LockedOpen">
  353. <xs:annotation><xs:documentation>The Door is in a LockedOpen state (Door is unlocked) until released using the LockOpenReleaseDoor command. AccessDoor, LockDoor, UnlockDoor, BlockDoor and LockDownDoor requests are ignored, i.e., it is not possible for door to go to Accessed, Locked, Unlocked, Blocked or LockedDown state.</xs:documentation></xs:annotation>
  354. </xs:enumeration>
  355. <xs:enumeration value="DoubleLocked">
  356. <xs:annotation><xs:documentation>The Door is in a Double Locked state - for doors with multiple locks. If the door does not have any DoubleLock, this shall be treated as a normal Locked mode. When changing to an Unlocked mode from the DoubleLocked mode, the door may first go to Locked state before unlocking.</xs:documentation></xs:annotation>
  357. </xs:enumeration>
  358. </xs:restriction>
  359. </xs:simpleType>
  360. <!--===============================-->
  361. <xs:complexType name="AccessDoorExtension">
  362. <xs:annotation>
  363. <xs:documentation>
  364. Extension for the AccessDoor command.
  365. </xs:documentation>
  366. </xs:annotation>
  367. <xs:sequence>
  368. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  369. </xs:sequence>
  370. <xs:anyAttribute processContents="lax"/>
  371. </xs:complexType>
  372. <!--===============================-->
  373. <!-- Message Request / Response elements -->
  374. <xs:element name="GetServiceCapabilities">
  375. <xs:complexType>
  376. <xs:sequence>
  377. </xs:sequence>
  378. </xs:complexType>
  379. </xs:element>
  380. <!--===============================-->
  381. <xs:element name="GetServiceCapabilitiesResponse">
  382. <xs:complexType>
  383. <xs:sequence>
  384. <xs:element name="Capabilities" type="tdc:ServiceCapabilities"><xs:annotation>
  385. <xs:documentation>The capability response message contains the requested DoorControl service capabilities using a hierarchical XML capability structure.</xs:documentation>
  386. </xs:annotation></xs:element>
  387. </xs:sequence>
  388. </xs:complexType>
  389. </xs:element>
  390. <!--===============================-->
  391. <xs:element name="GetDoorInfoList">
  392. <xs:complexType>
  393. <xs:sequence>
  394. <xs:element name="Limit" type="xs:int" minOccurs="0"><xs:annotation>
  395. <xs:documentation>Maximum number of entries to return. If not specified, or higher than what the device supports, the number of items shall be determined by the device.</xs:documentation>
  396. </xs:annotation></xs:element>
  397. <xs:element name="StartReference" type="xs:string" minOccurs="0"><xs:annotation>
  398. <xs:documentation>Start returning entries from this start reference. If not specified, entries shall start from the beginning of the dataset.</xs:documentation>
  399. </xs:annotation></xs:element>
  400. </xs:sequence>
  401. </xs:complexType>
  402. </xs:element>
  403. <!--===============================-->
  404. <xs:element name="GetDoorInfoListResponse">
  405. <xs:complexType>
  406. <xs:sequence>
  407. <xs:element name="NextStartReference" type="xs:string" minOccurs="0"><xs:annotation>
  408. <xs:documentation>StartReference to use in next call to get the following items. If absent, no more items to get.</xs:documentation>
  409. </xs:annotation></xs:element>
  410. <xs:element name="DoorInfo" type="tdc:DoorInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  411. <xs:documentation>List of DoorInfo items.</xs:documentation>
  412. </xs:annotation></xs:element>
  413. </xs:sequence>
  414. </xs:complexType>
  415. </xs:element>
  416. <!--===============================-->
  417. <xs:element name="GetDoorInfo">
  418. <xs:complexType>
  419. <xs:sequence>
  420. <xs:element name="Token" type="pt:ReferenceToken" maxOccurs="unbounded"><xs:annotation>
  421. <xs:documentation>Tokens of DoorInfo items to get.</xs:documentation>
  422. </xs:annotation></xs:element>
  423. </xs:sequence>
  424. </xs:complexType>
  425. </xs:element>
  426. <!--===============================-->
  427. <xs:element name="GetDoorInfoResponse">
  428. <xs:complexType>
  429. <xs:sequence>
  430. <xs:element name="DoorInfo" type="tdc:DoorInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  431. <xs:documentation>List of DoorInfo items.</xs:documentation>
  432. </xs:annotation></xs:element>
  433. </xs:sequence>
  434. </xs:complexType>
  435. </xs:element>
  436. <!--===============================-->
  437. <xs:element name="GetDoorState">
  438. <xs:complexType>
  439. <xs:sequence>
  440. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  441. <xs:documentation>Token of the Door instance to get the state for.</xs:documentation>
  442. </xs:annotation></xs:element>
  443. </xs:sequence>
  444. </xs:complexType>
  445. </xs:element>
  446. <!--===============================-->
  447. <xs:element name="GetDoorStateResponse">
  448. <xs:complexType>
  449. <xs:sequence>
  450. <xs:element name="DoorState" type="tdc:DoorState"><xs:annotation>
  451. <xs:documentation>The state of the door.</xs:documentation>
  452. </xs:annotation></xs:element>
  453. </xs:sequence>
  454. </xs:complexType>
  455. </xs:element>
  456. <!--===============================-->
  457. <xs:element name="AccessDoor">
  458. <xs:complexType>
  459. <xs:sequence>
  460. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  461. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  462. </xs:annotation></xs:element>
  463. <xs:element name="UseExtendedTime" type="xs:boolean" minOccurs="0"><xs:annotation>
  464. <xs:documentation>Optional - Indicates that the configured extended time should be used.</xs:documentation>
  465. </xs:annotation></xs:element>
  466. <xs:element name="AccessTime" type="xs:duration" minOccurs="0"><xs:annotation>
  467. <xs:documentation>Optional - overrides AccessTime if specified.</xs:documentation>
  468. </xs:annotation></xs:element>
  469. <xs:element name="OpenTooLongTime" type="xs:duration" minOccurs="0"><xs:annotation>
  470. <xs:documentation>Optional - overrides OpenTooLongTime if specified (DOTL).</xs:documentation>
  471. </xs:annotation></xs:element>
  472. <xs:element name="PreAlarmTime" type="xs:duration" minOccurs="0"><xs:annotation>
  473. <xs:documentation>Optional - overrides PreAlarmTime if specified.</xs:documentation>
  474. </xs:annotation></xs:element>
  475. <xs:element name="Extension" type="tdc:AccessDoorExtension" minOccurs="0"><xs:annotation>
  476. <xs:documentation>Future extension.</xs:documentation>
  477. </xs:annotation></xs:element>
  478. </xs:sequence>
  479. </xs:complexType>
  480. </xs:element>
  481. <!--===============================-->
  482. <xs:element name="AccessDoorResponse">
  483. <xs:complexType>
  484. <xs:sequence>
  485. </xs:sequence>
  486. </xs:complexType>
  487. </xs:element>
  488. <!--===============================-->
  489. <xs:element name="LockDoor">
  490. <xs:complexType>
  491. <xs:sequence>
  492. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  493. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  494. </xs:annotation></xs:element>
  495. </xs:sequence>
  496. </xs:complexType>
  497. </xs:element>
  498. <!--===============================-->
  499. <xs:element name="LockDoorResponse">
  500. <xs:complexType>
  501. <xs:sequence>
  502. </xs:sequence>
  503. </xs:complexType>
  504. </xs:element>
  505. <!--===============================-->
  506. <xs:element name="UnlockDoor">
  507. <xs:complexType>
  508. <xs:sequence>
  509. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  510. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  511. </xs:annotation></xs:element>
  512. </xs:sequence>
  513. </xs:complexType>
  514. </xs:element>
  515. <!--===============================-->
  516. <xs:element name="UnlockDoorResponse">
  517. <xs:complexType>
  518. <xs:sequence>
  519. </xs:sequence>
  520. </xs:complexType>
  521. </xs:element>
  522. <!--===============================-->
  523. <xs:element name="BlockDoor">
  524. <xs:complexType>
  525. <xs:sequence>
  526. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  527. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  528. </xs:annotation></xs:element>
  529. </xs:sequence>
  530. </xs:complexType>
  531. </xs:element>
  532. <!--===============================-->
  533. <xs:element name="BlockDoorResponse">
  534. <xs:complexType>
  535. <xs:sequence>
  536. </xs:sequence>
  537. </xs:complexType>
  538. </xs:element>
  539. <!--===============================-->
  540. <xs:element name="LockDownDoor">
  541. <xs:complexType>
  542. <xs:sequence>
  543. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  544. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  545. </xs:annotation></xs:element>
  546. </xs:sequence>
  547. </xs:complexType>
  548. </xs:element>
  549. <!--===============================-->
  550. <xs:element name="LockDownDoorResponse">
  551. <xs:complexType>
  552. <xs:sequence>
  553. </xs:sequence>
  554. </xs:complexType>
  555. </xs:element>
  556. <!--===============================-->
  557. <xs:element name="LockDownReleaseDoor">
  558. <xs:complexType>
  559. <xs:sequence>
  560. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  561. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  562. </xs:annotation></xs:element>
  563. </xs:sequence>
  564. </xs:complexType>
  565. </xs:element>
  566. <!--===============================-->
  567. <xs:element name="LockDownReleaseDoorResponse">
  568. <xs:complexType>
  569. <xs:sequence>
  570. </xs:sequence>
  571. </xs:complexType>
  572. </xs:element>
  573. <!--===============================-->
  574. <xs:element name="LockOpenDoor">
  575. <xs:complexType>
  576. <xs:sequence>
  577. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  578. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  579. </xs:annotation></xs:element>
  580. </xs:sequence>
  581. </xs:complexType>
  582. </xs:element>
  583. <!--===============================-->
  584. <xs:element name="LockOpenDoorResponse">
  585. <xs:complexType>
  586. <xs:sequence>
  587. </xs:sequence>
  588. </xs:complexType>
  589. </xs:element>
  590. <!--===============================-->
  591. <xs:element name="LockOpenReleaseDoor">
  592. <xs:complexType>
  593. <xs:sequence>
  594. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  595. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  596. </xs:annotation></xs:element>
  597. </xs:sequence>
  598. </xs:complexType>
  599. </xs:element>
  600. <!--===============================-->
  601. <xs:element name="LockOpenReleaseDoorResponse">
  602. <xs:complexType>
  603. <xs:sequence>
  604. </xs:sequence>
  605. </xs:complexType>
  606. </xs:element>
  607. <!--===============================-->
  608. <xs:element name="DoubleLockDoor">
  609. <xs:complexType>
  610. <xs:sequence>
  611. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  612. <xs:documentation>Token of the Door instance to control.</xs:documentation>
  613. </xs:annotation></xs:element>
  614. </xs:sequence>
  615. </xs:complexType>
  616. </xs:element>
  617. <!--===============================-->
  618. <xs:element name="DoubleLockDoorResponse">
  619. <xs:complexType>
  620. <xs:sequence>
  621. </xs:sequence>
  622. </xs:complexType>
  623. </xs:element>
  624. <!--===============================-->
  625. </xs:schema>
  626. </wsdl:types>
  627. <!--===============================-->
  628. <wsdl:message name="GetServiceCapabilitiesRequest">
  629. <wsdl:part name="parameters" element="tdc:GetServiceCapabilities"/>
  630. </wsdl:message>
  631. <wsdl:message name="GetServiceCapabilitiesResponse">
  632. <wsdl:part name="parameters" element="tdc:GetServiceCapabilitiesResponse"/>
  633. </wsdl:message>
  634. <!--===============================-->
  635. <wsdl:message name="GetDoorInfoListRequest">
  636. <wsdl:part name="parameters" element="tdc:GetDoorInfoList"/>
  637. </wsdl:message>
  638. <wsdl:message name="GetDoorInfoListResponse">
  639. <wsdl:part name="parameters" element="tdc:GetDoorInfoListResponse"/>
  640. </wsdl:message>
  641. <!--===============================-->
  642. <wsdl:message name="GetDoorInfoRequest">
  643. <wsdl:part name="parameters" element="tdc:GetDoorInfo"/>
  644. </wsdl:message>
  645. <wsdl:message name="GetDoorInfoResponse">
  646. <wsdl:part name="parameters" element="tdc:GetDoorInfoResponse"/>
  647. </wsdl:message>
  648. <!--===============================-->
  649. <wsdl:message name="GetDoorStateRequest">
  650. <wsdl:part name="parameters" element="tdc:GetDoorState"/>
  651. </wsdl:message>
  652. <wsdl:message name="GetDoorStateResponse">
  653. <wsdl:part name="parameters" element="tdc:GetDoorStateResponse"/>
  654. </wsdl:message>
  655. <!--===============================-->
  656. <wsdl:message name="AccessDoorRequest">
  657. <wsdl:part name="parameters" element="tdc:AccessDoor"/>
  658. </wsdl:message>
  659. <wsdl:message name="AccessDoorResponse">
  660. <wsdl:part name="parameters" element="tdc:AccessDoorResponse"/>
  661. </wsdl:message>
  662. <!--===============================-->
  663. <wsdl:message name="LockDoorRequest">
  664. <wsdl:part name="parameters" element="tdc:LockDoor"/>
  665. </wsdl:message>
  666. <wsdl:message name="LockDoorResponse">
  667. <wsdl:part name="parameters" element="tdc:LockDoorResponse"/>
  668. </wsdl:message>
  669. <!--===============================-->
  670. <wsdl:message name="UnlockDoorRequest">
  671. <wsdl:part name="parameters" element="tdc:UnlockDoor"/>
  672. </wsdl:message>
  673. <wsdl:message name="UnlockDoorResponse">
  674. <wsdl:part name="parameters" element="tdc:UnlockDoorResponse"/>
  675. </wsdl:message>
  676. <!--===============================-->
  677. <wsdl:message name="BlockDoorRequest">
  678. <wsdl:part name="parameters" element="tdc:BlockDoor"/>
  679. </wsdl:message>
  680. <wsdl:message name="BlockDoorResponse">
  681. <wsdl:part name="parameters" element="tdc:BlockDoorResponse"/>
  682. </wsdl:message>
  683. <!--===============================-->
  684. <wsdl:message name="LockDownDoorRequest">
  685. <wsdl:part name="parameters" element="tdc:LockDownDoor"/>
  686. </wsdl:message>
  687. <wsdl:message name="LockDownDoorResponse">
  688. <wsdl:part name="parameters" element="tdc:LockDownDoorResponse"/>
  689. </wsdl:message>
  690. <!--===============================-->
  691. <wsdl:message name="LockDownReleaseDoorRequest">
  692. <wsdl:part name="parameters" element="tdc:LockDownReleaseDoor"/>
  693. </wsdl:message>
  694. <wsdl:message name="LockDownReleaseDoorResponse">
  695. <wsdl:part name="parameters" element="tdc:LockDownReleaseDoorResponse"/>
  696. </wsdl:message>
  697. <!--===============================-->
  698. <wsdl:message name="LockOpenDoorRequest">
  699. <wsdl:part name="parameters" element="tdc:LockOpenDoor"/>
  700. </wsdl:message>
  701. <wsdl:message name="LockOpenDoorResponse">
  702. <wsdl:part name="parameters" element="tdc:LockOpenDoorResponse"/>
  703. </wsdl:message>
  704. <!--===============================-->
  705. <wsdl:message name="LockOpenReleaseDoorRequest">
  706. <wsdl:part name="parameters" element="tdc:LockOpenReleaseDoor"/>
  707. </wsdl:message>
  708. <wsdl:message name="LockOpenReleaseDoorResponse">
  709. <wsdl:part name="parameters" element="tdc:LockOpenReleaseDoorResponse"/>
  710. </wsdl:message>
  711. <!--===============================-->
  712. <wsdl:message name="DoubleLockDoorRequest">
  713. <wsdl:part name="parameters" element="tdc:DoubleLockDoor"/>
  714. </wsdl:message>
  715. <wsdl:message name="DoubleLockDoorResponse">
  716. <wsdl:part name="parameters" element="tdc:DoubleLockDoorResponse"/>
  717. </wsdl:message>
  718. <!--===============================-->
  719. <!--====== Faults messages ========-->
  720. <wsdl:portType name="DoorControlPort">
  721. <wsdl:operation name="GetServiceCapabilities">
  722. <wsdl:documentation>
  723. This operation returns the capabilities of the service.
  724. &lt;/p&gt;&lt;p&gt;
  725. An ONVIF compliant device which provides the Door Control service shall implement this method.
  726. </wsdl:documentation>
  727. <wsdl:input message="tdc:GetServiceCapabilitiesRequest"/>
  728. <wsdl:output message="tdc:GetServiceCapabilitiesResponse"/>
  729. </wsdl:operation>
  730. <wsdl:operation name="GetDoorInfoList">
  731. <wsdl:documentation>
  732. This operation requests a list of all DoorInfo items provided by the device.
  733. An ONVIF compliant device that provides Door Control service shall implement
  734. this method.
  735. &lt;/p&gt;&lt;p&gt;
  736. A call to this method shall return a StartReference when not all data is returned and more data is available.
  737. The reference shall be valid for retrieving the next set of data.
  738. Please refer section 4.8.3 of Access Control Service Specification for more details.
  739. The number of items returned shall not be greater than Limit parameter.
  740. &lt;/p&gt;&lt;p&gt;
  741. </wsdl:documentation>
  742. <wsdl:input message="tdc:GetDoorInfoListRequest"/>
  743. <wsdl:output message="tdc:GetDoorInfoListResponse"/>
  744. </wsdl:operation>
  745. <wsdl:operation name="GetDoorInfo">
  746. <wsdl:documentation>
  747. This operation requests a list of DoorInfo items matching the given tokens.
  748. An ONVIF-compliant device that provides Door Control service shall implement this method.
  749. &lt;/p&gt;&lt;p&gt;
  750. The device shall ignore tokens it cannot resolve and may return an empty list
  751. if there are no items matching specified tokens.
  752. If the number of requested items is greater than MaxLimit, a TooManyItems fault shall be returned.
  753. &lt;/p&gt;&lt;p&gt;
  754. </wsdl:documentation>
  755. <wsdl:input message="tdc:GetDoorInfoRequest"/>
  756. <wsdl:output message="tdc:GetDoorInfoResponse"/>
  757. </wsdl:operation>
  758. <wsdl:operation name="GetDoorState">
  759. <wsdl:documentation>
  760. This operation requests the state of a Door specified by the Token.
  761. &lt;/p&gt;&lt;p&gt;
  762. A device implementing the Door Control service shall be capable of reporting
  763. the status of a door using a DoorState structure available from the
  764. GetDoorState command.
  765. </wsdl:documentation>
  766. <wsdl:input message="tdc:GetDoorStateRequest"/>
  767. <wsdl:output message="tdc:GetDoorStateResponse"/>
  768. </wsdl:operation>
  769. <wsdl:operation name="AccessDoor">
  770. <wsdl:documentation>
  771. This operation allows momentarily accessing a Door.
  772. It invokes the functionality typically used when a card holder presents a
  773. card to a card reader at the door and is granted access.
  774. &lt;/p&gt;&lt;p&gt;
  775. The DoorMode shall change to Accessed state. Please refer to Accessed mode in section [DoorMode] for more details.
  776. &lt;/p&gt;&lt;p&gt;
  777. The Door shall remain accessible for the defined time. When the time span
  778. elapses, the DoorMode shall change back to its previous state.
  779. &lt;/p&gt;&lt;p&gt;
  780. If the request cannot be fulfilled, a Failure fault shall be returned.
  781. &lt;/p&gt;&lt;p&gt;
  782. Please refer to section [DoorMode] for details about Door Modes restrictions.
  783. &lt;/p&gt;&lt;p&gt;
  784. A device that signals support for Access capability for a particular Door
  785. instance shall implement this method. A device that signals support for
  786. AccessTimingOverride capability for a particular Door instance shall also
  787. provide optional timing parameters (AccessTime, OpenTooLongTime and
  788. PreAlarmTime) when performing AccessDoor command.
  789. &lt;/p&gt;&lt;p&gt;
  790. The device shall take the best effort approach for parameters not supported,
  791. it must fallback to preconfigured time or limit the time to the closest
  792. supported time if the specified time is out of range.
  793. </wsdl:documentation>
  794. <wsdl:input message="tdc:AccessDoorRequest"/>
  795. <wsdl:output message="tdc:AccessDoorResponse"/>
  796. </wsdl:operation>
  797. <wsdl:operation name="LockDoor">
  798. <wsdl:documentation>
  799. This operation allows locking a Door.
  800. The DoorMode shall change to Locked state.
  801. Please refer to Locked mode in section [DoorMode] for more details.
  802. &lt;/p&gt;&lt;p&gt;
  803. A device that signals support for Lock capability for a particular Door
  804. instance shall implement this method.
  805. &lt;/p&gt;&lt;p&gt;
  806. If the request cannot be fulfilled, a Failure fault shall be returned.
  807. Please refer to section [DoorMode] for more details about Door Modes restrictions.
  808. </wsdl:documentation>
  809. <wsdl:input message="tdc:LockDoorRequest"/>
  810. <wsdl:output message="tdc:LockDoorResponse"/>
  811. </wsdl:operation>
  812. <wsdl:operation name="UnlockDoor">
  813. <wsdl:documentation>
  814. This operation allows unlocking a Door.
  815. The DoorMode shall change to Unlocked state.
  816. Please refer to Unlocked mode in section [DoorMode] for more details.
  817. &lt;/p&gt;&lt;p&gt;
  818. A device that signals support for Unlock capability for a particular Door
  819. instance shall implement this method.
  820. &lt;/p&gt;&lt;p&gt;
  821. If the request cannot be fulfilled, a Failure fault shall be returned.
  822. Please refer to section [DoorMode] for more details about Door Modes restrictions.
  823. </wsdl:documentation>
  824. <wsdl:input message="tdc:UnlockDoorRequest"/>
  825. <wsdl:output message="tdc:UnlockDoorResponse"/>
  826. </wsdl:operation>
  827. <wsdl:operation name="BlockDoor">
  828. <wsdl:documentation>
  829. This operation allows blocking a Door and preventing momentary access (AccessDoor command).
  830. The DoorMode shall change to Blocked state.
  831. Please refer to Blocked mode in section [DoorMode] for more details.
  832. &lt;/p&gt;&lt;p&gt;
  833. A device that signals support for Block capability for a particular Door
  834. instance shall implement this method.
  835. &lt;/p&gt;&lt;p&gt;
  836. If the request cannot be fulfilled, a Failure fault shall be returned.
  837. Please refer to section [DoorMode] for more details about Door Modes restrictions.
  838. </wsdl:documentation>
  839. <wsdl:input message="tdc:BlockDoorRequest"/>
  840. <wsdl:output message="tdc:BlockDoorResponse"/>
  841. </wsdl:operation>
  842. <wsdl:operation name="LockDownDoor">
  843. <wsdl:documentation>
  844. This operation allows locking and preventing other actions until a LockDownRelease command is invoked.
  845. The DoorMode shall change to LockedDown state.
  846. Please refer to LockedDown mode in section [DoorMode] for more details.
  847. &lt;/p&gt;&lt;p&gt;
  848. The device shall ignore other door control commands until a LockDownRelease command is performed.
  849. &lt;/p&gt;&lt;p&gt;
  850. A device that signals support for LockDown capability for a particular Door
  851. instance shall implement this method.
  852. &lt;/p&gt;&lt;p&gt;
  853. If a device supports DoubleLock capability for a particular Door instance,
  854. that operation may be engaged as well.
  855. &lt;/p&gt;&lt;p&gt;
  856. If the request cannot be fulfilled, a Failure fault shall be returned.
  857. Please refer to section [DoorMode] for more details about Door Modes restrictions.
  858. </wsdl:documentation>
  859. <wsdl:input message="tdc:LockDownDoorRequest"/>
  860. <wsdl:output message="tdc:LockDownDoorResponse"/>
  861. </wsdl:operation>
  862. <wsdl:operation name="LockDownReleaseDoor">
  863. <wsdl:documentation>
  864. This operation allows releasing the LockedDown state of a Door.
  865. The DoorMode shall change back to its previous/next state.
  866. It is not defined what the previous/next state shall be, but typically - Locked.
  867. &lt;/p&gt;&lt;p&gt;
  868. This method shall only succeed if the current DoorMode is LockedDown.
  869. </wsdl:documentation>
  870. <wsdl:input message="tdc:LockDownReleaseDoorRequest"/>
  871. <wsdl:output message="tdc:LockDownReleaseDoorResponse"/>
  872. </wsdl:operation>
  873. <wsdl:operation name="LockOpenDoor">
  874. <wsdl:documentation>
  875. This operation allows unlocking a Door and preventing other actions until LockOpenRelease method is invoked.
  876. The DoorMode shall change to LockedOpen state.
  877. Please refer to LockedOpen mode in section [DoorMode] for more details.
  878. &lt;/p&gt;&lt;p&gt;
  879. The device shall ignore other door control commands until a LockOpenRelease command is performed.
  880. &lt;/p&gt;&lt;p&gt;
  881. A device that signals support for LockOpen capability for a particular Door instance shall implement this method.
  882. &lt;/p&gt;&lt;p&gt;
  883. If the request cannot be fulfilled, a Failure fault shall be returned.
  884. Please refer to section [DoorMode] for more details about Door Modes restrictions.
  885. </wsdl:documentation>
  886. <wsdl:input message="tdc:LockOpenDoorRequest"/>
  887. <wsdl:output message="tdc:LockOpenDoorResponse"/>
  888. </wsdl:operation>
  889. <wsdl:operation name="LockOpenReleaseDoor">
  890. <wsdl:documentation>
  891. This operation allows releasing the LockedOpen state of a Door.
  892. The DoorMode shall change state from the LockedOpen state back to its previous/next state.
  893. It is not defined what the previous/next state shall be, but typically - Unlocked.
  894. &lt;/p&gt;&lt;p&gt;
  895. This method shall only succeed if the current DoorMode is LockedOpen.
  896. </wsdl:documentation>
  897. <wsdl:input message="tdc:LockOpenReleaseDoorRequest"/>
  898. <wsdl:output message="tdc:LockOpenReleaseDoorResponse"/>
  899. </wsdl:operation>
  900. <wsdl:operation name="DoubleLockDoor">
  901. <wsdl:documentation>
  902. This operation is used for securely locking a Door.
  903. A call to this method shall change DoorMode state to DoubleLocked.
  904. Please refer to DoubleLocked mode in section [DoorMode] for more details.
  905. &lt;/p&gt;&lt;p&gt;
  906. A device that signals support for DoubleLock capability for a particular
  907. Door instance shall implement this method. Otherwise this method can be
  908. performed as a standard Lock operation (see [LockDoor command]).
  909. &lt;/p&gt;&lt;p&gt;
  910. If the door has an extra lock that shall be locked as well.
  911. &lt;/p&gt;&lt;p&gt;
  912. If the request cannot be fulfilled, a Failure fault shall be returned.
  913. </wsdl:documentation>
  914. <wsdl:input message="tdc:DoubleLockDoorRequest"/>
  915. <wsdl:output message="tdc:DoubleLockDoorResponse"/>
  916. </wsdl:operation>
  917. </wsdl:portType>
  918. <!--===============================-->
  919. <wsdl:binding name="DoorControlBinding" type="tdc:DoorControlPort">
  920. <wsdl:documentation>
  921. Copyright (c) 2010-2013 by ONVIF: Open Network Video Interface Forum. All rights reserved.<br/>
  922. </wsdl:documentation>
  923. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  924. <!--===============================-->
  925. <wsdl:operation name="GetServiceCapabilities">
  926. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/GetServiceCapabilities"/>
  927. <wsdl:input>
  928. <soap:body use="literal"/>
  929. </wsdl:input>
  930. <wsdl:output>
  931. <soap:body use="literal"/>
  932. </wsdl:output>
  933. </wsdl:operation>
  934. <!--===============================-->
  935. <wsdl:operation name="GetDoorInfoList">
  936. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/GetDoorInfoList"/>
  937. <wsdl:input>
  938. <soap:body use="literal"/>
  939. </wsdl:input>
  940. <wsdl:output>
  941. <soap:body use="literal"/>
  942. </wsdl:output>
  943. </wsdl:operation>
  944. <!--===============================-->
  945. <wsdl:operation name="GetDoorInfo">
  946. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/GetDoorInfo"/>
  947. <wsdl:input>
  948. <soap:body use="literal"/>
  949. </wsdl:input>
  950. <wsdl:output>
  951. <soap:body use="literal"/>
  952. </wsdl:output>
  953. </wsdl:operation>
  954. <!--===============================-->
  955. <wsdl:operation name="GetDoorState">
  956. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/GetDoorState"/>
  957. <wsdl:input>
  958. <soap:body use="literal"/>
  959. </wsdl:input>
  960. <wsdl:output>
  961. <soap:body use="literal"/>
  962. </wsdl:output>
  963. </wsdl:operation>
  964. <!--===============================-->
  965. <wsdl:operation name="AccessDoor">
  966. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/AccessDoor"/>
  967. <wsdl:input>
  968. <soap:body use="literal"/>
  969. </wsdl:input>
  970. <wsdl:output>
  971. <soap:body use="literal"/>
  972. </wsdl:output>
  973. </wsdl:operation>
  974. <!--===============================-->
  975. <wsdl:operation name="LockDoor">
  976. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/LockDoor"/>
  977. <wsdl:input>
  978. <soap:body use="literal"/>
  979. </wsdl:input>
  980. <wsdl:output>
  981. <soap:body use="literal"/>
  982. </wsdl:output>
  983. </wsdl:operation>
  984. <!--===============================-->
  985. <wsdl:operation name="UnlockDoor">
  986. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/UnlockDoor"/>
  987. <wsdl:input>
  988. <soap:body use="literal"/>
  989. </wsdl:input>
  990. <wsdl:output>
  991. <soap:body use="literal"/>
  992. </wsdl:output>
  993. </wsdl:operation>
  994. <!--===============================-->
  995. <wsdl:operation name="BlockDoor">
  996. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/BlockDoor"/>
  997. <wsdl:input>
  998. <soap:body use="literal"/>
  999. </wsdl:input>
  1000. <wsdl:output>
  1001. <soap:body use="literal"/>
  1002. </wsdl:output>
  1003. </wsdl:operation>
  1004. <!--===============================-->
  1005. <wsdl:operation name="LockDownDoor">
  1006. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/LockDownDoor"/>
  1007. <wsdl:input>
  1008. <soap:body use="literal"/>
  1009. </wsdl:input>
  1010. <wsdl:output>
  1011. <soap:body use="literal"/>
  1012. </wsdl:output>
  1013. </wsdl:operation>
  1014. <!--===============================-->
  1015. <wsdl:operation name="LockDownReleaseDoor">
  1016. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/LockDownReleaseDoor"/>
  1017. <wsdl:input>
  1018. <soap:body use="literal"/>
  1019. </wsdl:input>
  1020. <wsdl:output>
  1021. <soap:body use="literal"/>
  1022. </wsdl:output>
  1023. </wsdl:operation>
  1024. <!--===============================-->
  1025. <wsdl:operation name="LockOpenDoor">
  1026. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/LockOpenDoor"/>
  1027. <wsdl:input>
  1028. <soap:body use="literal"/>
  1029. </wsdl:input>
  1030. <wsdl:output>
  1031. <soap:body use="literal"/>
  1032. </wsdl:output>
  1033. </wsdl:operation>
  1034. <!--===============================-->
  1035. <wsdl:operation name="LockOpenReleaseDoor">
  1036. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/LockOpenReleaseDoor"/>
  1037. <wsdl:input>
  1038. <soap:body use="literal"/>
  1039. </wsdl:input>
  1040. <wsdl:output>
  1041. <soap:body use="literal"/>
  1042. </wsdl:output>
  1043. </wsdl:operation>
  1044. <!--===============================-->
  1045. <wsdl:operation name="DoubleLockDoor">
  1046. <soap:operation soapAction="http://www.onvif.org/ver10/doorcontrol/wsdl/DoubleLockDoor"/>
  1047. <wsdl:input>
  1048. <soap:body use="literal"/>
  1049. </wsdl:input>
  1050. <wsdl:output>
  1051. <soap:body use="literal"/>
  1052. </wsdl:output>
  1053. </wsdl:operation>
  1054. <!--===============================-->
  1055. </wsdl:binding>
  1056. <wsdl:service name="DoorControlService">
  1057. <wsdl:port name="DoorControlPort" binding="tdc:DoorControlBinding">
  1058. <soap:address location="http://192.168.0.51:8888/onvif/DoorControl"/>
  1059. </wsdl:port>
  1060. </wsdl:service>
  1061. </wsdl:definitions>