accessrules.wsdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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-2018 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
  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:tar="http://www.onvif.org/ver10/accessrules/wsdl" name="AccessRulesService"
  32. targetNamespace="http://www.onvif.org/ver10/accessrules/wsdl">
  33. <!-- The data types definition for the 'Access Rules Service' -->
  34. <wsdl:types>
  35. <xs:schema targetNamespace="http://www.onvif.org/ver10/accessrules/wsdl"
  36. xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pt="http://www.onvif.org/ver10/pacs"
  37. xmlns:tar="http://www.onvif.org/ver10/accessrules/wsdl" elementFormDefault="qualified" version="18.12">
  38. <xs:import namespace="http://www.onvif.org/ver10/pacs" schemaLocation="http://www.onvif.org/ver10/pacs/types.xsd"/>
  39. <!--ServiceCapabilities definitions-->
  40. <xs:complexType name="ServiceCapabilities">
  41. <xs:annotation>
  42. <xs:documentation>
  43. The service capabilities reflect optional functionality of a service. The information is static
  44. and does not change during device operation. The following capabilities are available:
  45. </xs:documentation>
  46. </xs:annotation>
  47. <xs:sequence>
  48. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> <!-- first ONVIF then Vendor -->
  49. </xs:sequence>
  50. <xs:attribute name="MaxLimit" use="required">
  51. <xs:annotation>
  52. <xs:documentation>
  53. The maximum number of entries returned by a single Get&lt;Entity&gt;List or Get&lt;Entity&gt;
  54. request. The device shall never return more than this number of entities in a single
  55. response.
  56. </xs:documentation>
  57. </xs:annotation>
  58. <xs:simpleType>
  59. <xs:restriction base="xs:unsignedInt">
  60. <xs:minInclusive value="1"/>
  61. </xs:restriction>
  62. </xs:simpleType>
  63. </xs:attribute>
  64. <xs:attribute name="MaxAccessProfiles" use="required">
  65. <xs:annotation>
  66. <xs:documentation>
  67. Indicates the maximum number of access profiles supported by the device.
  68. </xs:documentation>
  69. </xs:annotation>
  70. <xs:simpleType>
  71. <xs:restriction base="xs:unsignedInt">
  72. <xs:minInclusive value="1"/>
  73. </xs:restriction>
  74. </xs:simpleType>
  75. </xs:attribute>
  76. <xs:attribute name="MaxAccessPoliciesPerAccessProfile" use="required">
  77. <xs:annotation>
  78. <xs:documentation>
  79. Indicates the maximum number of access policies per access profile supported by the device.
  80. </xs:documentation>
  81. </xs:annotation>
  82. <xs:simpleType>
  83. <xs:restriction base="xs:unsignedInt">
  84. <xs:minInclusive value="1"/>
  85. </xs:restriction>
  86. </xs:simpleType>
  87. </xs:attribute>
  88. <xs:attribute name="MultipleSchedulesPerAccessPointSupported" type="xs:boolean" use="required">
  89. <xs:annotation>
  90. <xs:documentation>
  91. Indicates whether or not several access policies can refer to the same access point in an
  92. access profile.
  93. </xs:documentation>
  94. </xs:annotation>
  95. </xs:attribute>
  96. <xs:attribute name="ClientSuppliedTokenSupported" type="xs:boolean" default="false">
  97. <xs:annotation>
  98. <xs:documentation>
  99. Indicates that the client is allowed to supply the token when creating access profiles. To
  100. enable the use of the command SetAccessProfile, the value must be set to true.
  101. </xs:documentation>
  102. </xs:annotation>
  103. </xs:attribute>
  104. <xs:anyAttribute processContents="lax"/>
  105. </xs:complexType>
  106. <xs:element name="Capabilities" type="tar:ServiceCapabilities"/>
  107. <!-- End of definition -->
  108. <!--AccessPolicy definitions-->
  109. <xs:complexType name="AccessPolicy">
  110. <xs:annotation>
  111. <xs:documentation>
  112. The access policy is an association of an access point and a schedule. It defines when an access
  113. point can be accessed using an access profile which contains this access policy. If an access
  114. profile contains several access policies specifying different schedules for the same access
  115. point will result in a union of the schedules.
  116. </xs:documentation>
  117. </xs:annotation>
  118. <xs:sequence>
  119. <xs:element name="ScheduleToken" type="pt:ReferenceToken">
  120. <xs:annotation>
  121. <xs:documentation>Reference to the schedule used by the access policy.</xs:documentation>
  122. </xs:annotation>
  123. </xs:element>
  124. <xs:element name="Entity" type="pt:ReferenceToken">
  125. <xs:annotation>
  126. <xs:documentation>
  127. Reference to the entity used by the rule engine, the entity type may be specified by the
  128. optional EntityType field explained below but is typically an access point.
  129. </xs:documentation>
  130. </xs:annotation>
  131. </xs:element>
  132. <xs:element name="EntityType" type="xs:QName" minOccurs="0">
  133. <xs:annotation>
  134. <xs:documentation>
  135. Optional entity type; if missing, an access point type as defined by the ONVIF Access
  136. Control Service Specification should be assumed. This can also be represented by the
  137. QName value “tac:AccessPoint” where tac is the namespace of ONVIF Access Control
  138. Service Specification. This field is provided for future extensions; it will allow an
  139. access policy being extended to cover entity types other than access points as well.
  140. </xs:documentation>
  141. </xs:annotation>
  142. </xs:element>
  143. <xs:element name="Extension" type="tar:AccessPolicyExtension" minOccurs="0"/>
  144. </xs:sequence>
  145. <xs:anyAttribute processContents="lax"/>
  146. </xs:complexType>
  147. <xs:complexType name="AccessPolicyExtension">
  148. <xs:sequence>
  149. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <!-- first ONVIF then Vendor -->
  150. </xs:sequence>
  151. </xs:complexType>
  152. <!-- End of definition -->
  153. <!--AccessProfileInfo definitions-->
  154. <xs:complexType name="AccessProfileInfo">
  155. <xs:annotation>
  156. <xs:documentation>
  157. The AccessProfileInfo structure contains basic information about an access profile. The device
  158. shall provide the following fields for each access profile instance.
  159. </xs:documentation>
  160. </xs:annotation>
  161. <xs:complexContent>
  162. <xs:extension base="pt:DataEntity">
  163. <xs:sequence>
  164. <xs:element name="Name" type="pt:Name">
  165. <xs:annotation>
  166. <xs:documentation>A user readable name. It shall be up to 64 characters.
  167. </xs:documentation>
  168. </xs:annotation>
  169. </xs:element>
  170. <xs:element name="Description" type="pt:Description" minOccurs="0">
  171. <xs:annotation>
  172. <xs:documentation>User readable description for the access profile. It shall be up
  173. to 1024 characters.
  174. </xs:documentation>
  175. </xs:annotation>
  176. </xs:element>
  177. </xs:sequence>
  178. </xs:extension>
  179. </xs:complexContent>
  180. </xs:complexType>
  181. <!-- End of definition -->
  182. <!--AccessProfileInfo definitions-->
  183. <xs:complexType name="AccessProfile">
  184. <xs:annotation>
  185. <xs:documentation>
  186. The access profile structure contains information about the collection of access policies. The
  187. device shall include all properties of the AccessProfileInfo structure and also a list of access
  188. policies.
  189. </xs:documentation>
  190. </xs:annotation>
  191. <xs:complexContent>
  192. <xs:extension base="tar:AccessProfileInfo">
  193. <xs:sequence>
  194. <xs:element name="AccessPolicy" type="tar:AccessPolicy" minOccurs="0" maxOccurs="unbounded">
  195. <xs:annotation>
  196. <xs:documentation>A list of access policy structures, where each access policy
  197. defines during which schedule an access point can be accessed.
  198. </xs:documentation>
  199. </xs:annotation>
  200. </xs:element>
  201. <xs:element name="Extension" type="tar:AccessProfileExtension" minOccurs="0"/>
  202. </xs:sequence>
  203. <xs:anyAttribute processContents="lax"/>
  204. </xs:extension>
  205. </xs:complexContent>
  206. </xs:complexType>
  207. <xs:complexType name="AccessProfileExtension">
  208. <xs:sequence>
  209. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <!-- first ONVIF then Vendor -->
  210. </xs:sequence>
  211. </xs:complexType>
  212. <!-- End of data types definition -->
  213. <!-- #################-->
  214. <!-- Message request / response elements-->
  215. <xs:element name="GetServiceCapabilities">
  216. <xs:complexType>
  217. <xs:sequence/>
  218. </xs:complexType>
  219. </xs:element>
  220. <!--===============================-->
  221. <xs:element name="GetServiceCapabilitiesResponse">
  222. <xs:complexType>
  223. <xs:sequence>
  224. <xs:element name="Capabilities" type="tar:ServiceCapabilities">
  225. <xs:annotation>
  226. <xs:documentation>The capability response message contains the requested access rules
  227. service capabilities using a hierarchical XML capability structure.
  228. </xs:documentation>
  229. </xs:annotation>
  230. </xs:element>
  231. </xs:sequence>
  232. </xs:complexType>
  233. </xs:element>
  234. <!--===============================-->
  235. <xs:element name="GetAccessProfileInfo">
  236. <xs:complexType>
  237. <xs:sequence>
  238. <xs:element name="Token" type="pt:ReferenceToken" minOccurs="1" maxOccurs="unbounded">
  239. <xs:annotation>
  240. <xs:documentation>Tokens of AccessProfileInfo items to get.</xs:documentation>
  241. </xs:annotation>
  242. </xs:element>
  243. </xs:sequence>
  244. </xs:complexType>
  245. </xs:element>
  246. <!--===============================-->
  247. <xs:element name="GetAccessProfileInfoResponse">
  248. <xs:complexType>
  249. <xs:sequence>
  250. <xs:element name="AccessProfileInfo" type="tar:AccessProfileInfo" minOccurs="0"
  251. maxOccurs="unbounded">
  252. <xs:annotation>
  253. <xs:documentation>List of AccessProfileInfo items.</xs:documentation>
  254. </xs:annotation>
  255. </xs:element>
  256. </xs:sequence>
  257. </xs:complexType>
  258. </xs:element>
  259. <!--===============================-->
  260. <xs:element name="GetAccessProfileInfoList">
  261. <xs:complexType>
  262. <xs:sequence>
  263. <xs:element name="Limit" type="xs:int" minOccurs="0">
  264. <xs:annotation>
  265. <xs:documentation>Maximum number of entries to return. If not specified, less than one
  266. or higher than what the device supports, the number of items is determined by the
  267. device.
  268. </xs:documentation>
  269. </xs:annotation>
  270. </xs:element>
  271. <xs:element name="StartReference" type="xs:string" minOccurs="0">
  272. <xs:annotation>
  273. <xs:documentation>Start returning entries from this start reference. If not specified,
  274. entries shall start from the beginning of the dataset.
  275. </xs:documentation>
  276. </xs:annotation>
  277. </xs:element>
  278. </xs:sequence>
  279. </xs:complexType>
  280. </xs:element>
  281. <!--===============================-->
  282. <xs:element name="GetAccessProfileInfoListResponse">
  283. <xs:complexType>
  284. <xs:sequence>
  285. <xs:element name="NextStartReference" type="xs:string" minOccurs="0">
  286. <xs:annotation>
  287. <xs:documentation>StartReference to use in next call to get the following items. If
  288. absent, no more items to get.
  289. </xs:documentation>
  290. </xs:annotation>
  291. </xs:element>
  292. <xs:element name="AccessProfileInfo" type="tar:AccessProfileInfo" minOccurs="0"
  293. maxOccurs="unbounded">
  294. <xs:annotation>
  295. <xs:documentation>List of AccessProfileInfo items.</xs:documentation>
  296. </xs:annotation>
  297. </xs:element>
  298. </xs:sequence>
  299. </xs:complexType>
  300. </xs:element>
  301. <!--===============================-->
  302. <xs:element name="GetAccessProfiles">
  303. <xs:complexType>
  304. <xs:sequence>
  305. <xs:element name="Token" type="pt:ReferenceToken" minOccurs="1" maxOccurs="unbounded">
  306. <xs:annotation>
  307. <xs:documentation>Tokens of AccessProfile items to get.</xs:documentation>
  308. </xs:annotation>
  309. </xs:element>
  310. </xs:sequence>
  311. </xs:complexType>
  312. </xs:element>
  313. <!--===============================-->
  314. <xs:element name="GetAccessProfilesResponse">
  315. <xs:complexType>
  316. <xs:sequence>
  317. <xs:element name="AccessProfile" type="tar:AccessProfile" minOccurs="0" maxOccurs="unbounded">
  318. <xs:annotation>
  319. <xs:documentation>List of Access Profile items.</xs:documentation>
  320. </xs:annotation>
  321. </xs:element>
  322. </xs:sequence>
  323. </xs:complexType>
  324. </xs:element>
  325. <!--===============================-->
  326. <xs:element name="GetAccessProfileList">
  327. <xs:complexType>
  328. <xs:sequence>
  329. <xs:element name="Limit" type="xs:int" minOccurs="0">
  330. <xs:annotation>
  331. <xs:documentation>Maximum number of entries to return. If not specified, less than one
  332. or higher than what the device supports, the number of items is determined by the
  333. device.
  334. </xs:documentation>
  335. </xs:annotation>
  336. </xs:element>
  337. <xs:element name="StartReference" type="xs:string" minOccurs="0">
  338. <xs:annotation>
  339. <xs:documentation>Start returning entries from this start reference. If not specified,
  340. entries shall start from the beginning of the dataset.
  341. </xs:documentation>
  342. </xs:annotation>
  343. </xs:element>
  344. </xs:sequence>
  345. </xs:complexType>
  346. </xs:element>
  347. <!--===============================-->
  348. <xs:element name="GetAccessProfileListResponse">
  349. <xs:complexType>
  350. <xs:sequence>
  351. <xs:element name="NextStartReference" type="xs:string" minOccurs="0">
  352. <xs:annotation>
  353. <xs:documentation>StartReference to use in next call to get the following items. If
  354. absent, no more items to get.
  355. </xs:documentation>
  356. </xs:annotation>
  357. </xs:element>
  358. <xs:element name="AccessProfile" type="tar:AccessProfile" minOccurs="0" maxOccurs="unbounded">
  359. <xs:annotation>
  360. <xs:documentation>List of Access Profile items.</xs:documentation>
  361. </xs:annotation>
  362. </xs:element>
  363. </xs:sequence>
  364. </xs:complexType>
  365. </xs:element>
  366. <!--===============================-->
  367. <xs:element name="CreateAccessProfile">
  368. <xs:complexType>
  369. <xs:sequence>
  370. <xs:element name="AccessProfile" type="tar:AccessProfile">
  371. <xs:annotation>
  372. <xs:documentation>The AccessProfile to create.</xs:documentation>
  373. </xs:annotation>
  374. </xs:element>
  375. </xs:sequence>
  376. </xs:complexType>
  377. </xs:element>
  378. <!--===============================-->
  379. <xs:element name="CreateAccessProfileResponse">
  380. <xs:complexType>
  381. <xs:sequence>
  382. <xs:element name="Token" type="pt:ReferenceToken">
  383. <xs:annotation>
  384. <xs:documentation>The Token of created AccessProfile.</xs:documentation>
  385. </xs:annotation>
  386. </xs:element>
  387. </xs:sequence>
  388. </xs:complexType>
  389. </xs:element>
  390. <!--===============================-->
  391. <xs:element name="ModifyAccessProfile">
  392. <xs:complexType>
  393. <xs:sequence>
  394. <xs:element name="AccessProfile" type="tar:AccessProfile">
  395. <xs:annotation>
  396. <xs:documentation>The details of Access Profile</xs:documentation>
  397. </xs:annotation>
  398. </xs:element>
  399. </xs:sequence>
  400. </xs:complexType>
  401. </xs:element>
  402. <!--===============================-->
  403. <xs:element name="ModifyAccessProfileResponse">
  404. <xs:complexType>
  405. <xs:sequence>
  406. </xs:sequence>
  407. </xs:complexType>
  408. </xs:element>
  409. <!--===============================-->
  410. <xs:element name="SetAccessProfile">
  411. <xs:complexType>
  412. <xs:sequence>
  413. <xs:element name="AccessProfile" type="tar:AccessProfile">
  414. <xs:annotation>
  415. <xs:documentation>The AccessProfile item to create or modify</xs:documentation>
  416. </xs:annotation>
  417. </xs:element>
  418. </xs:sequence>
  419. </xs:complexType>
  420. </xs:element>
  421. <!--===============================-->
  422. <xs:element name="SetAccessProfileResponse">
  423. <xs:complexType>
  424. <xs:sequence>
  425. </xs:sequence>
  426. </xs:complexType>
  427. </xs:element>
  428. <!--===============================-->
  429. <xs:element name="DeleteAccessProfile">
  430. <xs:complexType>
  431. <xs:sequence>
  432. <xs:element name="Token" type="pt:ReferenceToken">
  433. <xs:annotation>
  434. <xs:documentation>The token of the access profile to delete.</xs:documentation>
  435. </xs:annotation>
  436. </xs:element>
  437. </xs:sequence>
  438. </xs:complexType>
  439. </xs:element>
  440. <!--===============================-->
  441. <xs:element name="DeleteAccessProfileResponse">
  442. <xs:complexType>
  443. <xs:sequence/>
  444. </xs:complexType>
  445. </xs:element>
  446. <!-- #################-->
  447. </xs:schema>
  448. </wsdl:types>
  449. <!--Definition of 'GetServiceCapabilities' message-->
  450. <wsdl:message name="GetServiceCapabilitiesRequest">
  451. <wsdl:part name="parameters" element="tar:GetServiceCapabilities"/>
  452. </wsdl:message>
  453. <wsdl:message name="GetServiceCapabilitiesResponse">
  454. <wsdl:part name="parameters" element="tar:GetServiceCapabilitiesResponse"/>
  455. </wsdl:message>
  456. <!--===============================-->
  457. <!--Definition of 'GetAccessProfileInfo' message-->
  458. <wsdl:message name="GetAccessProfileInfoRequest">
  459. <wsdl:part name="parameters" element="tar:GetAccessProfileInfo"/>
  460. </wsdl:message>
  461. <wsdl:message name="GetAccessProfileInfoResponse">
  462. <wsdl:part name="parameters" element="tar:GetAccessProfileInfoResponse"/>
  463. </wsdl:message>
  464. <!--===============================-->
  465. <!--Definition of 'GetAccessProfileInfoList' message-->
  466. <wsdl:message name="GetAccessProfileInfoListRequest">
  467. <wsdl:part name="parameters" element="tar:GetAccessProfileInfoList"/>
  468. </wsdl:message>
  469. <wsdl:message name="GetAccessProfileInfoListResponse">
  470. <wsdl:part name="parameters" element="tar:GetAccessProfileInfoListResponse"/>
  471. </wsdl:message>
  472. <!--===============================-->
  473. <!--Definition of 'GetAccessProfiles' message-->
  474. <wsdl:message name="GetAccessProfilesRequest">
  475. <wsdl:part name="parameters" element="tar:GetAccessProfiles"/>
  476. </wsdl:message>
  477. <wsdl:message name="GetAccessProfilesResponse">
  478. <wsdl:part name="parameters" element="tar:GetAccessProfilesResponse"/>
  479. </wsdl:message>
  480. <!--===============================-->
  481. <!--Definition of 'GetAccessProfileList' message-->
  482. <wsdl:message name="GetAccessProfileListRequest">
  483. <wsdl:part name="parameters" element="tar:GetAccessProfileList"/>
  484. </wsdl:message>
  485. <wsdl:message name="GetAccessProfileListResponse">
  486. <wsdl:part name="parameters" element="tar:GetAccessProfileListResponse"/>
  487. </wsdl:message>
  488. <!--===============================-->
  489. <!--Definition of 'CreateAccessProfile' message-->
  490. <wsdl:message name="CreateAccessProfileRequest">
  491. <wsdl:part name="parameters" element="tar:CreateAccessProfile"/>
  492. </wsdl:message>
  493. <wsdl:message name="CreateAccessProfileResponse">
  494. <wsdl:part name="parameters" element="tar:CreateAccessProfileResponse"/>
  495. </wsdl:message>
  496. <!--===============================-->
  497. <!--Definition of 'ModifyAccessProfile' message-->
  498. <wsdl:message name="ModifyAccessProfileRequest">
  499. <wsdl:part name="parameters" element="tar:ModifyAccessProfile"/>
  500. </wsdl:message>
  501. <wsdl:message name="ModifyAccessProfileResponse">
  502. <wsdl:part name="parameters" element="tar:ModifyAccessProfileResponse"/>
  503. </wsdl:message>
  504. <!--Definition of 'SetAccessProfile' message-->
  505. <wsdl:message name="SetAccessProfileRequest">
  506. <wsdl:part name="parameters" element="tar:SetAccessProfile"/>
  507. </wsdl:message>
  508. <wsdl:message name="SetAccessProfileResponse">
  509. <wsdl:part name="parameters" element="tar:SetAccessProfileResponse"/>
  510. </wsdl:message>
  511. <!--===============================-->
  512. <!--Definition of 'DeleteAccessProfile' message-->
  513. <wsdl:message name="DeleteAccessProfileRequest">
  514. <wsdl:part name="parameters" element="tar:DeleteAccessProfile"/>
  515. </wsdl:message>
  516. <wsdl:message name="DeleteAccessProfileResponse">
  517. <wsdl:part name="parameters" element="tar:DeleteAccessProfileResponse"/>
  518. </wsdl:message>
  519. <!--===============================-->
  520. <wsdl:portType name="AccessRulesPort">
  521. <wsdl:operation name="GetServiceCapabilities">
  522. <wsdl:documentation>This operation returns the capabilities of the access rules service.
  523. </wsdl:documentation>
  524. <wsdl:input message="tar:GetServiceCapabilitiesRequest"/>
  525. <wsdl:output message="tar:GetServiceCapabilitiesResponse"/>
  526. </wsdl:operation>
  527. <wsdl:operation name="GetAccessProfileInfo">
  528. <wsdl:documentation>
  529. This operation requests a list of AccessProfileInfo items matching the given tokens. The device shall
  530. ignore tokens it cannot resolve and shall return an empty list if there are no items matching the
  531. specified tokens. The device shall not return a fault in this case.
  532. If the number of requested items is greater than MaxLimit, a TooManyItems fault shall be returned.
  533. </wsdl:documentation>
  534. <wsdl:input message="tar:GetAccessProfileInfoRequest"/>
  535. <wsdl:output message="tar:GetAccessProfileInfoResponse"/>
  536. </wsdl:operation>
  537. <wsdl:operation name="GetAccessProfileInfoList">
  538. <wsdl:documentation>
  539. This operation requests a list of all of AccessProfileInfo items provided by the device.
  540. A call to this method shall return a StartReference when not all data is returned and more data is
  541. available. The reference shall be valid for retrieving the next set of data.
  542. The number of items returned shall not be greater than the Limit parameter.
  543. </wsdl:documentation>
  544. <wsdl:input message="tar:GetAccessProfileInfoListRequest"/>
  545. <wsdl:output message="tar:GetAccessProfileInfoListResponse"/>
  546. </wsdl:operation>
  547. <wsdl:operation name="GetAccessProfiles">
  548. <wsdl:documentation>
  549. This operation returns the specified access profile item matching the given tokens.
  550. The device shall ignore tokens it cannot resolve and shall return an empty list if there are no items
  551. matching specified tokens. The device shall not return a fault in this case.
  552. If the number of requested items is greater than MaxLimit, a TooManyItems fault shall be returned.
  553. </wsdl:documentation>
  554. <wsdl:input message="tar:GetAccessProfilesRequest"/>
  555. <wsdl:output message="tar:GetAccessProfilesResponse"/>
  556. </wsdl:operation>
  557. <wsdl:operation name="GetAccessProfileList">
  558. <wsdl:documentation>
  559. This operation requests a list of all of access profile items provided by the device.
  560. A call to this method shall return a StartReference when not all data is returned and more data is
  561. available. The reference shall be valid for retrieving the next set of data.
  562. The number of items returned shall not be greater than the Limit parameter.
  563. </wsdl:documentation>
  564. <wsdl:input message="tar:GetAccessProfileListRequest"/>
  565. <wsdl:output message="tar:GetAccessProfileListResponse"/>
  566. </wsdl:operation>
  567. <wsdl:operation name="CreateAccessProfile">
  568. <wsdl:documentation>
  569. This operation creates the specified access profile in the device. The token field of the access profile shall be
  570. empty, the service shall allocate a token for the access profile. The allocated token shall be returned
  571. in the response. If the client sends any value in the token field, the device shall return InvalidArgVal
  572. as generic fault code.
  573. In an access profile, if several access policies specifying different schedules for the same access
  574. point will result in a union of the schedules.
  575. </wsdl:documentation>
  576. <wsdl:input message="tar:CreateAccessProfileRequest"/>
  577. <wsdl:output message="tar:CreateAccessProfileResponse"/>
  578. </wsdl:operation>
  579. <wsdl:operation name="ModifyAccessProfile">
  580. <wsdl:documentation>
  581. This operation will modify the access profile for the specified access profile token. The token of the
  582. access profile to modify is specified in the token field of the AccessProile structure and shall not
  583. be empty. All other fields in the structure shall overwrite the fields in the specified access profile.
  584. If several access policies specifying different schedules for the same access point will result in a
  585. union of the schedules.
  586. If the device could not store the access profile information then a fault will be generated.
  587. </wsdl:documentation>
  588. <wsdl:input message="tar:ModifyAccessProfileRequest"/>
  589. <wsdl:output message="tar:ModifyAccessProfileResponse"/>
  590. </wsdl:operation>
  591. <wsdl:operation name="SetAccessProfile">
  592. <wsdl:documentation>
  593. This operation will synchronize an access profile in a client with the device.
  594. If an access profile with the specified token does not exist in the device, the access profile is
  595. created. If an access profile with the specified token exists, then the access profile is modified.
  596. A call to this method takes an access profile structure as input parameter. The token field of the
  597. access profile must not be empty.
  598. A device that signals support for the ClientSuppliedTokenSupported capability shall implement this command.
  599. </wsdl:documentation>
  600. <wsdl:input message="tar:SetAccessProfileRequest"/>
  601. <wsdl:output message="tar:SetAccessProfileResponse"/>
  602. </wsdl:operation>
  603. <wsdl:operation name="DeleteAccessProfile">
  604. <wsdl:documentation>
  605. This operation will delete the specified access profile.
  606. If the access profile is deleted, all access policies associated to the access profile will also be
  607. deleted.
  608. If it is associated with one or more entities some devices may not be able to delete the access profile,
  609. and consequently a ReferenceInUse fault shall be generated.
  610. </wsdl:documentation>
  611. <wsdl:input message="tar:DeleteAccessProfileRequest"/>
  612. <wsdl:output message="tar:DeleteAccessProfileResponse"/>
  613. </wsdl:operation>
  614. </wsdl:portType>
  615. <!--Protocol & data format for the operations and messages for the port type 'AccessRulesPort'-->
  616. <wsdl:binding name="AccessRulesBinding" type="tar:AccessRulesPort">
  617. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  618. <wsdl:operation name="GetServiceCapabilities">
  619. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/GetServiceCapabilities"/>
  620. <wsdl:input>
  621. <soap:body use="literal"/>
  622. </wsdl:input>
  623. <wsdl:output>
  624. <soap:body use="literal"/>
  625. </wsdl:output>
  626. </wsdl:operation>
  627. <wsdl:operation name="GetAccessProfileInfo">
  628. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/GetAccessProfileInfo"/>
  629. <wsdl:input>
  630. <soap:body use="literal"/>
  631. </wsdl:input>
  632. <wsdl:output>
  633. <soap:body use="literal"/>
  634. </wsdl:output>
  635. </wsdl:operation>
  636. <wsdl:operation name="GetAccessProfileInfoList">
  637. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/GetAccessProfileInfoList"/>
  638. <wsdl:input>
  639. <soap:body use="literal"/>
  640. </wsdl:input>
  641. <wsdl:output>
  642. <soap:body use="literal"/>
  643. </wsdl:output>
  644. </wsdl:operation>
  645. <wsdl:operation name="GetAccessProfiles">
  646. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/GetAccessProfiles"/>
  647. <wsdl:input>
  648. <soap:body use="literal"/>
  649. </wsdl:input>
  650. <wsdl:output>
  651. <soap:body use="literal"/>
  652. </wsdl:output>
  653. </wsdl:operation>
  654. <wsdl:operation name="GetAccessProfileList">
  655. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/GetAccessProfileList"/>
  656. <wsdl:input>
  657. <soap:body use="literal"/>
  658. </wsdl:input>
  659. <wsdl:output>
  660. <soap:body use="literal"/>
  661. </wsdl:output>
  662. </wsdl:operation>
  663. <wsdl:operation name="CreateAccessProfile">
  664. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/CreateAccessProfile"/>
  665. <wsdl:input>
  666. <soap:body use="literal"/>
  667. </wsdl:input>
  668. <wsdl:output>
  669. <soap:body use="literal"/>
  670. </wsdl:output>
  671. </wsdl:operation>
  672. <wsdl:operation name="ModifyAccessProfile">
  673. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/ModifyAccessProfile"/>
  674. <wsdl:input>
  675. <soap:body use="literal"/>
  676. </wsdl:input>
  677. <wsdl:output>
  678. <soap:body use="literal"/>
  679. </wsdl:output>
  680. </wsdl:operation>
  681. <wsdl:operation name="SetAccessProfile">
  682. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/SetAccessProfile"/>
  683. <wsdl:input>
  684. <soap:body use="literal"/>
  685. </wsdl:input>
  686. <wsdl:output>
  687. <soap:body use="literal"/>
  688. </wsdl:output>
  689. </wsdl:operation>
  690. <wsdl:operation name="DeleteAccessProfile">
  691. <soap:operation soapAction="http://www.onvif.org/ver10/accessrules/wsdl/DeleteAccessProfile"/>
  692. <wsdl:input>
  693. <soap:body use="literal"/>
  694. </wsdl:input>
  695. <wsdl:output>
  696. <soap:body use="literal"/>
  697. </wsdl:output>
  698. </wsdl:operation>
  699. </wsdl:binding>
  700. </wsdl:definitions>