accesscontrol.wsdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  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="PACSService" targetNamespace="http://www.onvif.org/ver10/accesscontrol/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:tac="http://www.onvif.org/ver10/accesscontrol/wsdl"
  32. >
  33. <wsdl:types>
  34. <xs:schema targetNamespace="http://www.onvif.org/ver10/accesscontrol/wsdl"
  35. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  36. xmlns:pt="http://www.onvif.org/ver10/pacs"
  37. xmlns:tac="http://www.onvif.org/ver10/accesscontrol/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. The service capabilities reflect 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 GetList 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="AccessPointInfoBase">
  60. <xs:annotation>
  61. <xs:documentation>
  62. Used as extension base for AccessPointInfo.
  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>Optional user readable description for the AccessPoint. It shall be up to 1024 characters.</xs:documentation>
  73. </xs:annotation></xs:element>
  74. <xs:element name="AreaFrom" type="pt:ReferenceToken" minOccurs="0"><xs:annotation>
  75. <xs:documentation>Optional reference to the Area from which access is requested.</xs:documentation>
  76. </xs:annotation></xs:element>
  77. <xs:element name="AreaTo" type="pt:ReferenceToken" minOccurs="0"><xs:annotation>
  78. <xs:documentation>Optional reference to the Area to which access is requested.</xs:documentation>
  79. </xs:annotation></xs:element>
  80. <xs:element name="EntityType" type="xs:QName" minOccurs="0"><xs:annotation>
  81. <xs:documentation>Optional entity type; if missing, a Door type as defined by the ONVIF DoorControl service should be assumed. This can also be represented by the QName value "tdc:Door" - where tdc is the namespace of the Door Control service: &quot;http://www.onvif.org/ver10/doorcontrol/wsdl&quot;. This field is provided for future extensions; it will allow an AccessPoint being extended to cover entity types other than Doors as well.</xs:documentation>
  82. </xs:annotation></xs:element>
  83. <xs:element name="Entity" type="pt:ReferenceToken"><xs:annotation>
  84. <xs:documentation>Reference to the entity used to control access; the entity type may be specified by the optional EntityType field explained below but is typically a Door.</xs:documentation>
  85. </xs:annotation></xs:element>
  86. </xs:sequence>
  87. </xs:extension>
  88. </xs:complexContent>
  89. </xs:complexType>
  90. <!--===============================-->
  91. <xs:complexType name="AccessPointInfo">
  92. <xs:annotation>
  93. <xs:documentation>
  94. The AccessPointInfo structure contains basic information about an AccessPoint instance.
  95. An AccessPoint defines an entity a Credential can be granted or denied access to. The
  96. AccessPointInfo provides basic information on how access is controlled in one direction for a
  97. door (from which area to which area).
  98. &lt;/p&gt;&lt;p&gt;
  99. door is the typical device involved, but other type of
  100. devices may be supported as well.
  101. Multiple AccessPoints may cover the same Door.
  102. A typical case is one AccessPoint for entry and another for exit, both referencing
  103. the same Door.
  104. &lt;/p&gt;&lt;p&gt;
  105. An ONVIF compliant device shall provide the following fields for each AccessPoint instance:
  106. </xs:documentation>
  107. </xs:annotation>
  108. <xs:complexContent>
  109. <xs:extension base="tac:AccessPointInfoBase">
  110. <xs:sequence>
  111. <xs:element name="Capabilities" type="tac:AccessPointCapabilities"><xs:annotation>
  112. <xs:documentation>The capabilities for the AccessPoint.</xs:documentation>
  113. </xs:annotation></xs:element>
  114. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  115. </xs:sequence>
  116. <xs:anyAttribute processContents="lax"/>
  117. </xs:extension>
  118. </xs:complexContent>
  119. </xs:complexType>
  120. <!--===============================-->
  121. <xs:complexType name="AccessPointCapabilities">
  122. <xs:annotation>
  123. <xs:documentation>
  124. The AccessPoint capabilities reflect optional functionality of a particular physical entity.
  125. Different AccessPoint instances may have different set of capabilities. This information may
  126. change during device operation, e.g. if hardware settings are changed.
  127. The following capabilities are available:</xs:documentation>
  128. </xs:annotation>
  129. <xs:sequence>
  130. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  131. </xs:sequence>
  132. <xs:attribute name="DisableAccessPoint" type="xs:boolean" use="required"><xs:annotation>
  133. <xs:documentation>Indicates whether or not this AccessPoint instance supports EnableAccessPoint and DisableAccessPoint commands.</xs:documentation>
  134. </xs:annotation></xs:attribute>
  135. <xs:attribute name="Duress" type="xs:boolean"><xs:annotation>
  136. <xs:documentation>Indicates whether or not this AccessPoint instance supports generation of duress events.</xs:documentation>
  137. </xs:annotation></xs:attribute>
  138. <xs:attribute name="AnonymousAccess" type="xs:boolean"><xs:annotation>
  139. <xs:documentation>Indicates whether or not this AccessPoint has a REX switch or other input that allows anonymous access.</xs:documentation>
  140. </xs:annotation></xs:attribute>
  141. <xs:attribute name="AccessTaken" type="xs:boolean"><xs:annotation>
  142. <xs:documentation>Indicates whether or not this AccessPoint instance supports generation of AccessTaken and AccessNotTaken events. If AnonymousAccess and AccessTaken are both true, it indicates that the Anonymous versions of AccessTaken and AccessNotTaken are supported.</xs:documentation>
  143. </xs:annotation></xs:attribute>
  144. <xs:attribute name="ExternalAuthorization" type="xs:boolean"><xs:annotation>
  145. <xs:documentation>Indicates whether or not this AccessPoint instance supports the ExternalAuthorization operation and the generation of Request events. If AnonymousAccess and ExternalAuthorization are both true, it indicates that the Anonymous version is supported as well.</xs:documentation>
  146. </xs:annotation></xs:attribute>
  147. <xs:anyAttribute processContents="lax"/>
  148. </xs:complexType>
  149. <!--===============================-->
  150. <xs:complexType name="AreaInfoBase">
  151. <xs:annotation>
  152. <xs:documentation>
  153. Basic information about an Area. Used as extension base.
  154. </xs:documentation>
  155. </xs:annotation>
  156. <xs:complexContent>
  157. <xs:extension base="pt:DataEntity">
  158. <xs:sequence>
  159. <xs:element name="Name" type="pt:Name"><xs:annotation>
  160. <xs:documentation>User readable name. It shall be up to 64 characters.</xs:documentation>
  161. </xs:annotation></xs:element>
  162. <xs:element name="Description" type="pt:Description" minOccurs="0"><xs:annotation>
  163. <xs:documentation>User readable description for the Area. It shall be up to 1024 characters.</xs:documentation>
  164. </xs:annotation></xs:element>
  165. </xs:sequence>
  166. </xs:extension>
  167. </xs:complexContent>
  168. </xs:complexType>
  169. <!--===============================-->
  170. <xs:complexType name="AreaInfo">
  171. <xs:annotation>
  172. <xs:documentation>
  173. The AreaInfo structure contains basic information about an Area.
  174. An ONVIF compliant device shall provide the following fields for each Area:
  175. </xs:documentation>
  176. </xs:annotation>
  177. <xs:complexContent>
  178. <xs:extension base="tac:AreaInfoBase">
  179. <xs:sequence>
  180. </xs:sequence>
  181. <xs:anyAttribute processContents="lax"/>
  182. </xs:extension>
  183. </xs:complexContent>
  184. </xs:complexType>
  185. <!--===============================-->
  186. <xs:complexType name="AccessPointState">
  187. <xs:annotation>
  188. <xs:documentation>
  189. The AccessPointState contains state information for an AccessPoint.
  190. An ONVIF compliant device shall provide the following fields for each AccessPoint instance:
  191. </xs:documentation>
  192. </xs:annotation>
  193. <xs:sequence>
  194. <xs:element name="Enabled" type="xs:boolean"><xs:annotation>
  195. <xs:documentation>Indicates that the AccessPoint is enabled. By default this field value shall be True, if the DisableAccessPoint capabilities is not supported.</xs:documentation>
  196. </xs:annotation></xs:element>
  197. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
  198. </xs:sequence>
  199. <xs:anyAttribute processContents="lax"/>
  200. </xs:complexType>
  201. <!--===============================-->
  202. <xs:simpleType name="Decision">
  203. <xs:annotation>
  204. <xs:documentation>
  205. The Decision enumeration represents a choice of two available options for an access request:
  206. </xs:documentation>
  207. </xs:annotation>
  208. <xs:restriction base="xs:string">
  209. <xs:enumeration value="Granted">
  210. <xs:annotation><xs:documentation>The decision is to grant access.</xs:documentation></xs:annotation>
  211. </xs:enumeration>
  212. <xs:enumeration value="Denied">
  213. <xs:annotation><xs:documentation>The decision is to deny access.</xs:documentation></xs:annotation>
  214. </xs:enumeration>
  215. </xs:restriction>
  216. </xs:simpleType>
  217. <!--===============================-->
  218. <xs:simpleType name="DenyReason">
  219. <xs:annotation>
  220. <xs:documentation>
  221. Non-normative enum that describes the various reasons for denying access.
  222. The following strings shall be used for the reason field:
  223. </xs:documentation>
  224. </xs:annotation>
  225. <xs:restriction base="xs:string">
  226. <xs:enumeration value="CredentialNotEnabled">
  227. <xs:annotation><xs:documentation>The device shall provide the following event, whenever a valid credential is not enabled or has been disabled (e.g., due to credential being lost etc.) to prevent unauthorized entry.</xs:documentation></xs:annotation>
  228. </xs:enumeration>
  229. <xs:enumeration value="CredentialNotActive">
  230. <xs:annotation><xs:documentation>The device shall provide the following event, whenever a valid credential is presented though it is not active yet;: e.g, the credential was presented before the start date.</xs:documentation></xs:annotation>
  231. </xs:enumeration>
  232. <xs:enumeration value="CredentialExpired">
  233. <xs:annotation><xs:documentation>The device shall provide the following event, whenever a valid credential was presented after its expiry date.</xs:documentation></xs:annotation>
  234. </xs:enumeration>
  235. <xs:enumeration value="InvalidPIN">
  236. <xs:annotation><xs:documentation>The device shall provide the following event, whenever an entered PIN code does not match the credential.</xs:documentation></xs:annotation>
  237. </xs:enumeration>
  238. <xs:enumeration value="NotPermittedAtThisTime">
  239. <xs:annotation><xs:documentation>The device shall provide the following event, whenever a valid credential is denied access to the requested AccessPoint because the credential is not permitted at the moment.</xs:documentation></xs:annotation>
  240. </xs:enumeration>
  241. <xs:enumeration value="Unauthorized">
  242. <xs:annotation><xs:documentation>The device shall provide the following event, whenever the presented credential is not authorized.</xs:documentation></xs:annotation>
  243. </xs:enumeration>
  244. <xs:enumeration value="Other">
  245. <xs:annotation><xs:documentation>The device shall provide the following event, whenever the request is denied and no other specific event matches it or is supported by the service.</xs:documentation></xs:annotation>
  246. </xs:enumeration>
  247. </xs:restriction>
  248. </xs:simpleType>
  249. <!--===============================-->
  250. <!-- Message Request / Response elements -->
  251. <xs:element name="GetServiceCapabilities">
  252. <xs:complexType>
  253. <xs:sequence>
  254. </xs:sequence>
  255. </xs:complexType>
  256. </xs:element>
  257. <!--===============================-->
  258. <xs:element name="GetServiceCapabilitiesResponse">
  259. <xs:complexType>
  260. <xs:sequence>
  261. <xs:element name="Capabilities" type="tac:ServiceCapabilities"><xs:annotation>
  262. <xs:documentation>The capability response message contains the requested Access Control service capabilities using a hierarchical XML capability structure.</xs:documentation>
  263. </xs:annotation></xs:element>
  264. </xs:sequence>
  265. </xs:complexType>
  266. </xs:element>
  267. <!--===============================-->
  268. <xs:element name="GetAccessPointInfoList">
  269. <xs:complexType>
  270. <xs:sequence>
  271. <xs:element name="Limit" type="xs:int" minOccurs="0"><xs:annotation>
  272. <xs:documentation>Maximum number of entries to return. If not specified, less than one or higher than what the device supports, the number of items is determined by the device.</xs:documentation>
  273. </xs:annotation></xs:element>
  274. <xs:element name="StartReference" type="xs:string" minOccurs="0"><xs:annotation>
  275. <xs:documentation>Start returning entries from this start reference. If not specified, entries shall start from the beginning of the dataset.</xs:documentation>
  276. </xs:annotation></xs:element>
  277. </xs:sequence>
  278. </xs:complexType>
  279. </xs:element>
  280. <!--===============================-->
  281. <xs:element name="GetAccessPointInfoListResponse">
  282. <xs:complexType>
  283. <xs:sequence>
  284. <xs:element name="NextStartReference" type="xs:string" minOccurs="0"><xs:annotation>
  285. <xs:documentation>StartReference to use in next call to get the following items. If absent, no more items to get.</xs:documentation>
  286. </xs:annotation></xs:element>
  287. <xs:element name="AccessPointInfo" type="tac:AccessPointInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  288. <xs:documentation>List of AccessPointInfo items.</xs:documentation>
  289. </xs:annotation></xs:element>
  290. </xs:sequence>
  291. </xs:complexType>
  292. </xs:element>
  293. <!--===============================-->
  294. <xs:element name="GetAccessPointInfo">
  295. <xs:complexType>
  296. <xs:sequence>
  297. <xs:element name="Token" type="pt:ReferenceToken" maxOccurs="unbounded"><xs:annotation>
  298. <xs:documentation>Tokens of AccessPointInfo items to get.</xs:documentation>
  299. </xs:annotation></xs:element>
  300. </xs:sequence>
  301. </xs:complexType>
  302. </xs:element>
  303. <!--===============================-->
  304. <xs:element name="GetAccessPointInfoResponse">
  305. <xs:complexType>
  306. <xs:sequence>
  307. <xs:element name="AccessPointInfo" type="tac:AccessPointInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  308. <xs:documentation>List of AccessPointInfo items.</xs:documentation>
  309. </xs:annotation></xs:element>
  310. </xs:sequence>
  311. </xs:complexType>
  312. </xs:element>
  313. <!--===============================-->
  314. <xs:element name="GetAreaInfoList">
  315. <xs:complexType>
  316. <xs:sequence>
  317. <xs:element name="Limit" type="xs:int" minOccurs="0"><xs:annotation>
  318. <xs:documentation>Maximum number of entries to return. If not specified, less than one or higher than what the device supports, the number of items is determined by the device.</xs:documentation>
  319. </xs:annotation></xs:element>
  320. <xs:element name="StartReference" type="xs:string" minOccurs="0"><xs:annotation>
  321. <xs:documentation>Start returning entries from this start reference. If not specified, entries shall start from the beginning of the dataset.</xs:documentation>
  322. </xs:annotation></xs:element>
  323. </xs:sequence>
  324. </xs:complexType>
  325. </xs:element>
  326. <!--===============================-->
  327. <xs:element name="GetAreaInfoListResponse">
  328. <xs:complexType>
  329. <xs:sequence>
  330. <xs:element name="NextStartReference" type="xs:string" minOccurs="0"><xs:annotation>
  331. <xs:documentation>StartReference to use in next call to get the following items. If absent, no more items to get.</xs:documentation>
  332. </xs:annotation></xs:element>
  333. <xs:element name="AreaInfo" type="tac:AreaInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  334. <xs:documentation>List of AreaInfo items.</xs:documentation>
  335. </xs:annotation></xs:element>
  336. </xs:sequence>
  337. </xs:complexType>
  338. </xs:element>
  339. <!--===============================-->
  340. <xs:element name="GetAreaInfo">
  341. <xs:complexType>
  342. <xs:sequence>
  343. <xs:element name="Token" type="pt:ReferenceToken" maxOccurs="unbounded"><xs:annotation>
  344. <xs:documentation>Tokens of AreaInfo items to get.</xs:documentation>
  345. </xs:annotation></xs:element>
  346. </xs:sequence>
  347. </xs:complexType>
  348. </xs:element>
  349. <!--===============================-->
  350. <xs:element name="GetAreaInfoResponse">
  351. <xs:complexType>
  352. <xs:sequence>
  353. <xs:element name="AreaInfo" type="tac:AreaInfo" minOccurs="0" maxOccurs="unbounded"><xs:annotation>
  354. <xs:documentation>List of AreaInfo items.</xs:documentation>
  355. </xs:annotation></xs:element>
  356. </xs:sequence>
  357. </xs:complexType>
  358. </xs:element>
  359. <!--===============================-->
  360. <xs:element name="GetAccessPointState">
  361. <xs:complexType>
  362. <xs:sequence>
  363. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  364. <xs:documentation>Token of AccessPoint instance to get AccessPointState for.</xs:documentation>
  365. </xs:annotation></xs:element>
  366. </xs:sequence>
  367. </xs:complexType>
  368. </xs:element>
  369. <!--===============================-->
  370. <xs:element name="GetAccessPointStateResponse">
  371. <xs:complexType>
  372. <xs:sequence>
  373. <xs:element name="AccessPointState" type="tac:AccessPointState"><xs:annotation>
  374. <xs:documentation>AccessPointState item.</xs:documentation>
  375. </xs:annotation></xs:element>
  376. </xs:sequence>
  377. </xs:complexType>
  378. </xs:element>
  379. <!--===============================-->
  380. <xs:element name="EnableAccessPoint">
  381. <xs:complexType>
  382. <xs:sequence>
  383. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  384. <xs:documentation>Token of the AccessPoint instance to enable.</xs:documentation>
  385. </xs:annotation></xs:element>
  386. </xs:sequence>
  387. </xs:complexType>
  388. </xs:element>
  389. <!--===============================-->
  390. <xs:element name="EnableAccessPointResponse">
  391. <xs:complexType>
  392. <xs:sequence>
  393. </xs:sequence>
  394. </xs:complexType>
  395. </xs:element>
  396. <!--===============================-->
  397. <xs:element name="DisableAccessPoint">
  398. <xs:complexType>
  399. <xs:sequence>
  400. <xs:element name="Token" type="pt:ReferenceToken"><xs:annotation>
  401. <xs:documentation>Token of the AccessPoint instance to disable.</xs:documentation>
  402. </xs:annotation></xs:element>
  403. </xs:sequence>
  404. </xs:complexType>
  405. </xs:element>
  406. <!--===============================-->
  407. <xs:element name="DisableAccessPointResponse">
  408. <xs:complexType>
  409. <xs:sequence>
  410. </xs:sequence>
  411. </xs:complexType>
  412. </xs:element>
  413. <!--===============================-->
  414. <xs:element name="ExternalAuthorization">
  415. <xs:complexType>
  416. <xs:sequence>
  417. <xs:element name="AccessPointToken" type="pt:ReferenceToken"><xs:annotation>
  418. <xs:documentation>Token of the Access Point instance.</xs:documentation>
  419. </xs:annotation></xs:element>
  420. <xs:element name="CredentialToken" type="pt:ReferenceToken" minOccurs="0"><xs:annotation>
  421. <xs:documentation>Optional token of the Credential involved.</xs:documentation>
  422. </xs:annotation></xs:element>
  423. <xs:element name="Reason" type="xs:string" minOccurs="0"><xs:annotation>
  424. <xs:documentation>Optional reason for decision.</xs:documentation>
  425. </xs:annotation></xs:element>
  426. <xs:element name="Decision" type="tac:Decision"><xs:annotation>
  427. <xs:documentation>Decision - Granted or Denied.</xs:documentation>
  428. </xs:annotation></xs:element>
  429. </xs:sequence>
  430. </xs:complexType>
  431. </xs:element>
  432. <!--===============================-->
  433. <xs:element name="ExternalAuthorizationResponse">
  434. <xs:complexType>
  435. <xs:sequence>
  436. </xs:sequence>
  437. </xs:complexType>
  438. </xs:element>
  439. <!--===============================-->
  440. </xs:schema>
  441. </wsdl:types>
  442. <!--===============================-->
  443. <wsdl:message name="GetServiceCapabilitiesRequest">
  444. <wsdl:part name="parameters" element="tac:GetServiceCapabilities"/>
  445. </wsdl:message>
  446. <wsdl:message name="GetServiceCapabilitiesResponse">
  447. <wsdl:part name="parameters" element="tac:GetServiceCapabilitiesResponse"/>
  448. </wsdl:message>
  449. <!--===============================-->
  450. <wsdl:message name="GetAccessPointInfoListRequest">
  451. <wsdl:part name="parameters" element="tac:GetAccessPointInfoList"/>
  452. </wsdl:message>
  453. <wsdl:message name="GetAccessPointInfoListResponse">
  454. <wsdl:part name="parameters" element="tac:GetAccessPointInfoListResponse"/>
  455. </wsdl:message>
  456. <!--===============================-->
  457. <wsdl:message name="GetAccessPointInfoRequest">
  458. <wsdl:part name="parameters" element="tac:GetAccessPointInfo"/>
  459. </wsdl:message>
  460. <wsdl:message name="GetAccessPointInfoResponse">
  461. <wsdl:part name="parameters" element="tac:GetAccessPointInfoResponse"/>
  462. </wsdl:message>
  463. <!--===============================-->
  464. <wsdl:message name="GetAreaInfoListRequest">
  465. <wsdl:part name="parameters" element="tac:GetAreaInfoList"/>
  466. </wsdl:message>
  467. <wsdl:message name="GetAreaInfoListResponse">
  468. <wsdl:part name="parameters" element="tac:GetAreaInfoListResponse"/>
  469. </wsdl:message>
  470. <!--===============================-->
  471. <wsdl:message name="GetAreaInfoRequest">
  472. <wsdl:part name="parameters" element="tac:GetAreaInfo"/>
  473. </wsdl:message>
  474. <wsdl:message name="GetAreaInfoResponse">
  475. <wsdl:part name="parameters" element="tac:GetAreaInfoResponse"/>
  476. </wsdl:message>
  477. <!--===============================-->
  478. <wsdl:message name="GetAccessPointStateRequest">
  479. <wsdl:part name="parameters" element="tac:GetAccessPointState"/>
  480. </wsdl:message>
  481. <wsdl:message name="GetAccessPointStateResponse">
  482. <wsdl:part name="parameters" element="tac:GetAccessPointStateResponse"/>
  483. </wsdl:message>
  484. <!--===============================-->
  485. <wsdl:message name="EnableAccessPointRequest">
  486. <wsdl:part name="parameters" element="tac:EnableAccessPoint"/>
  487. </wsdl:message>
  488. <wsdl:message name="EnableAccessPointResponse">
  489. <wsdl:part name="parameters" element="tac:EnableAccessPointResponse"/>
  490. </wsdl:message>
  491. <!--===============================-->
  492. <wsdl:message name="DisableAccessPointRequest">
  493. <wsdl:part name="parameters" element="tac:DisableAccessPoint"/>
  494. </wsdl:message>
  495. <wsdl:message name="DisableAccessPointResponse">
  496. <wsdl:part name="parameters" element="tac:DisableAccessPointResponse"/>
  497. </wsdl:message>
  498. <!--===============================-->
  499. <wsdl:message name="ExternalAuthorizationRequest">
  500. <wsdl:part name="parameters" element="tac:ExternalAuthorization"/>
  501. </wsdl:message>
  502. <wsdl:message name="ExternalAuthorizationResponse">
  503. <wsdl:part name="parameters" element="tac:ExternalAuthorizationResponse"/>
  504. </wsdl:message>
  505. <!--===============================-->
  506. <!--====== Faults messages ========-->
  507. <wsdl:portType name="PACSPort">
  508. <wsdl:operation name="GetServiceCapabilities">
  509. <wsdl:documentation>
  510. This operation returns the capabilities of the Access Control service.
  511. &lt;/p&gt;&lt;p&gt;
  512. An ONVIF compliant device which provides the Access Control service shall
  513. implement this method.
  514. </wsdl:documentation>
  515. <wsdl:input message="tac:GetServiceCapabilitiesRequest"/>
  516. <wsdl:output message="tac:GetServiceCapabilitiesResponse"/>
  517. </wsdl:operation>
  518. <wsdl:operation name="GetAccessPointInfoList">
  519. <wsdl:documentation>
  520. This operation requests a list of all AccessPointInfo items provided by the device.
  521. An ONVIF compliant device which provides the Access Control service shall implement this method.
  522. &lt;/p&gt;&lt;p&gt;
  523. A call to this method shall return a StartReference when not all data is returned and more
  524. data is available. The reference shall be valid for retrieving the next set of data.
  525. Please refer section [Retrieving system configuration] for more details.
  526. &lt;/p&gt;&lt;p&gt;
  527. The number of items returned shall not be greater than Limit parameter.
  528. &lt;/p&gt;&lt;p&gt;
  529. </wsdl:documentation>
  530. <wsdl:input message="tac:GetAccessPointInfoListRequest"/>
  531. <wsdl:output message="tac:GetAccessPointInfoListResponse"/>
  532. </wsdl:operation>
  533. <wsdl:operation name="GetAccessPointInfo">
  534. <wsdl:documentation>
  535. This operation requests a list of AccessPointInfo items matching the given tokens.
  536. &lt;/p&gt;&lt;p&gt;
  537. An ONVIF compliant device which provides Access Control service shall implement this method.
  538. &lt;/p&gt;&lt;p&gt;
  539. The device shall ignore tokens it cannot resolve and shall return an empty list if there
  540. are no items matching specified tokens. The device shall not return a fault in this case.
  541. &lt;/p&gt;&lt;p&gt;
  542. If the number of requested items is greater than MaxLimit, a TooManyItems
  543. fault shall be returned.
  544. &lt;/p&gt;&lt;p&gt;
  545. </wsdl:documentation>
  546. <wsdl:input message="tac:GetAccessPointInfoRequest"/>
  547. <wsdl:output message="tac:GetAccessPointInfoResponse"/>
  548. </wsdl:operation>
  549. <wsdl:operation name="GetAreaInfoList">
  550. <wsdl:documentation>
  551. This operation requests a list of all AreaInfo items provided by the device.
  552. An ONVIF compliant device which provides the Access Control service shall implement this method.
  553. &lt;/p&gt;&lt;p&gt;
  554. A call to this method shall return a StartReference when not all data is returned and more
  555. data is available. The reference shall be valid for retrieving the next set of data.
  556. Please refer section [Retrieving system configuration] for more details.
  557. &lt;/p&gt;&lt;p&gt;
  558. The number of items returned shall not be greater than Limit parameter.
  559. &lt;/p&gt;&lt;p&gt;
  560. </wsdl:documentation>
  561. <wsdl:input message="tac:GetAreaInfoListRequest"/>
  562. <wsdl:output message="tac:GetAreaInfoListResponse"/>
  563. </wsdl:operation>
  564. <wsdl:operation name="GetAreaInfo">
  565. <wsdl:documentation>
  566. This operation requests a list of AreaInfo items matching the given tokens.
  567. &lt;/p&gt;&lt;p&gt;
  568. An ONVIF compliant device which provides Access Control service shall implement this method.
  569. &lt;/p&gt;&lt;p&gt;
  570. The device shall ignore tokens it cannot resolve and shall return an empty list if there
  571. are no items matching specified tokens. The device shall not return a fault in this case.
  572. &lt;/p&gt;&lt;p&gt;
  573. If the number of requested items is greater than MaxLimit, a TooManyItems
  574. fault shall be returned.
  575. &lt;/p&gt;&lt;p&gt;
  576. </wsdl:documentation>
  577. <wsdl:input message="tac:GetAreaInfoRequest"/>
  578. <wsdl:output message="tac:GetAreaInfoResponse"/>
  579. </wsdl:operation>
  580. <wsdl:operation name="GetAccessPointState">
  581. <wsdl:documentation>
  582. This operation requests the AccessPointState for the AccessPoint instance specified by Token.
  583. &lt;/p&gt;&lt;p&gt;
  584. An ONVIF compliant device that provides Access Control service shall implement this method.
  585. </wsdl:documentation>
  586. <wsdl:input message="tac:GetAccessPointStateRequest"/>
  587. <wsdl:output message="tac:GetAccessPointStateResponse"/>
  588. </wsdl:operation>
  589. <wsdl:operation name="EnableAccessPoint">
  590. <wsdl:documentation>
  591. This operation allows enabling an access point.
  592. &lt;/p&gt;&lt;p&gt;
  593. A device that signals support for DisableAccessPoint capability for a particular AccessPoint
  594. instance shall implement this command.
  595. &lt;/p&gt;&lt;p&gt;
  596. </wsdl:documentation>
  597. <wsdl:input message="tac:EnableAccessPointRequest"/>
  598. <wsdl:output message="tac:EnableAccessPointResponse"/>
  599. </wsdl:operation>
  600. <wsdl:operation name="DisableAccessPoint">
  601. <wsdl:documentation>
  602. This operation allows disabling an access point.
  603. &lt;/p&gt;&lt;p&gt;
  604. A device that signals support for DisableAccessPoint capability for a particular AccessPoint
  605. instance shall implement this command.
  606. &lt;/p&gt;&lt;p&gt;
  607. </wsdl:documentation>
  608. <wsdl:input message="tac:DisableAccessPointRequest"/>
  609. <wsdl:output message="tac:DisableAccessPointResponse"/>
  610. </wsdl:operation>
  611. <wsdl:operation name="ExternalAuthorization">
  612. <wsdl:documentation>
  613. This operation allows to Deny or Grant decision at an AccessPoint instance.
  614. &lt;/p&gt;&lt;p&gt;
  615. A device that signals support for ExternalAuthorization capability for a particular
  616. AccessPoint instance shall implement this method.
  617. </wsdl:documentation>
  618. <wsdl:input message="tac:ExternalAuthorizationRequest"/>
  619. <wsdl:output message="tac:ExternalAuthorizationResponse"/>
  620. </wsdl:operation>
  621. </wsdl:portType>
  622. <!--===============================-->
  623. <wsdl:binding name="PACSBinding" type="tac:PACSPort">
  624. <wsdl:documentation>
  625. Copyright (c) 2010-2013 by ONVIF: Open Network Video Interface Forum. All rights reserved.<br/>
  626. This is the initial minimized version of the Access Control service
  627. aimed at the first PACS Profile C. <br/>
  628. The AccessControl service implements the Authentication and
  629. Authorization functionality and controls the actions to get
  630. access to various Access Points controlling access to Doors and Areas. <br/>
  631. The basic data structures used by the service are:
  632. * CredentialInfo holding basic information of a credential.<br/>
  633. * AccessPointInfo holding basic information on how access is controlled in
  634. one direction for a door (from which area to which area) defined in the DoorControl service.<br/>
  635. </wsdl:documentation>
  636. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  637. <!--===============================-->
  638. <wsdl:operation name="GetServiceCapabilities">
  639. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetServiceCapabilities"/>
  640. <wsdl:input>
  641. <soap:body use="literal"/>
  642. </wsdl:input>
  643. <wsdl:output>
  644. <soap:body use="literal"/>
  645. </wsdl:output>
  646. </wsdl:operation>
  647. <!--===============================-->
  648. <wsdl:operation name="GetAccessPointInfoList">
  649. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetAccessPointInfoList"/>
  650. <wsdl:input>
  651. <soap:body use="literal"/>
  652. </wsdl:input>
  653. <wsdl:output>
  654. <soap:body use="literal"/>
  655. </wsdl:output>
  656. </wsdl:operation>
  657. <!--===============================-->
  658. <wsdl:operation name="GetAccessPointInfo">
  659. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetAccessPointInfo"/>
  660. <wsdl:input>
  661. <soap:body use="literal"/>
  662. </wsdl:input>
  663. <wsdl:output>
  664. <soap:body use="literal"/>
  665. </wsdl:output>
  666. </wsdl:operation>
  667. <!--===============================-->
  668. <wsdl:operation name="GetAreaInfoList">
  669. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetAreaInfoList"/>
  670. <wsdl:input>
  671. <soap:body use="literal"/>
  672. </wsdl:input>
  673. <wsdl:output>
  674. <soap:body use="literal"/>
  675. </wsdl:output>
  676. </wsdl:operation>
  677. <!--===============================-->
  678. <wsdl:operation name="GetAreaInfo">
  679. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetAreaInfo"/>
  680. <wsdl:input>
  681. <soap:body use="literal"/>
  682. </wsdl:input>
  683. <wsdl:output>
  684. <soap:body use="literal"/>
  685. </wsdl:output>
  686. </wsdl:operation>
  687. <!--===============================-->
  688. <wsdl:operation name="GetAccessPointState">
  689. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/GetAccessPointState"/>
  690. <wsdl:input>
  691. <soap:body use="literal"/>
  692. </wsdl:input>
  693. <wsdl:output>
  694. <soap:body use="literal"/>
  695. </wsdl:output>
  696. </wsdl:operation>
  697. <!--===============================-->
  698. <wsdl:operation name="EnableAccessPoint">
  699. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/EnableAccessPoint"/>
  700. <wsdl:input>
  701. <soap:body use="literal"/>
  702. </wsdl:input>
  703. <wsdl:output>
  704. <soap:body use="literal"/>
  705. </wsdl:output>
  706. </wsdl:operation>
  707. <!--===============================-->
  708. <wsdl:operation name="DisableAccessPoint">
  709. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/DisableAccessPoint"/>
  710. <wsdl:input>
  711. <soap:body use="literal"/>
  712. </wsdl:input>
  713. <wsdl:output>
  714. <soap:body use="literal"/>
  715. </wsdl:output>
  716. </wsdl:operation>
  717. <!--===============================-->
  718. <wsdl:operation name="ExternalAuthorization">
  719. <soap:operation soapAction="http://www.onvif.org/ver10/accesscontrol/wsdl/ExternalAuthorization"/>
  720. <wsdl:input>
  721. <soap:body use="literal"/>
  722. </wsdl:input>
  723. <wsdl:output>
  724. <soap:body use="literal"/>
  725. </wsdl:output>
  726. </wsdl:operation>
  727. <!--===============================-->
  728. </wsdl:binding>
  729. <wsdl:service name="PACSService">
  730. <wsdl:port name="PACSPort" binding="tac:PACSBinding">
  731. <soap:address location="http://192.168.0.51:8888/onvif/PACS"/>
  732. </wsdl:port>
  733. </wsdl:service>
  734. </wsdl:definitions>