search.wsdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <?xml-stylesheet type="text/xsl" href="../ver20/util/onvif-wsdl-viewer.xsl"?>
  3. <!--
  4. Copyright (c) 2008-2014 by ONVIF: Open Network Video Interface Forum. All rights reserved.
  5. Recipients of this document may copy, distribute, publish, or display this document so long as this copyright notice, license and disclaimer are retained with all copies of the document. No license is granted to modify this document.
  6. THIS DOCUMENT IS PROVIDED "AS IS," AND THE CORPORATION AND ITS MEMBERS AND THEIR AFFILIATES, MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THIS DOCUMENT ARE SUITABLE FOR ANY PURPOSE; OR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
  7. IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT, WHETHER OR NOT (1) THE CORPORATION, MEMBERS OR THEIR AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR (2) SUCH DAMAGES WERE REASONABLY FORESEEABLE, AND ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THIS DOCUMENT. THE FOREGOING DISCLAIMER AND LIMITATION ON LIABILITY DO NOT APPLY TO, INVALIDATE, OR LIMIT REPRESENTATIONS AND WARRANTIES MADE BY THE MEMBERS AND THEIR RESPECTIVE AFFILIATES TO THE CORPORATION AND OTHER MEMBERS IN CERTAIN WRITTEN POLICIES OF THE CORPORATION.
  8. -->
  9. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" targetNamespace="http://www.onvif.org/ver10/search/wsdl">
  10. <wsdl:types>
  11. <xs:schema targetNamespace="http://www.onvif.org/ver10/search/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="2.4.2">
  12. <xs:import namespace="http://www.onvif.org/ver10/schema" schemaLocation="onvif.xsd"/>
  13. <!-- Message Request/Responses elements -->
  14. <!--===============================-->
  15. <xs:element name="GetServiceCapabilities">
  16. <xs:complexType>
  17. <xs:sequence/>
  18. </xs:complexType>
  19. </xs:element>
  20. <xs:element name="GetServiceCapabilitiesResponse">
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element name="Capabilities" type="tse:Capabilities">
  24. <xs:annotation>
  25. <xs:documentation>The capabilities for the search service is returned in the Capabilities element.</xs:documentation>
  26. </xs:annotation>
  27. </xs:element>
  28. </xs:sequence>
  29. </xs:complexType>
  30. </xs:element>
  31. <!--===============================-->
  32. <xs:complexType name="Capabilities">
  33. <xs:sequence>
  34. <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  35. </xs:sequence>
  36. <xs:attribute name="MetadataSearch" type="xs:boolean"/>
  37. <xs:attribute name="GeneralStartEvents" type="xs:boolean"><xs:annotation><xs:documentation> Indicates support for general virtual property events in the FindEvents method.</xs:documentation></xs:annotation></xs:attribute>
  38. <xs:anyAttribute processContents="lax"/>
  39. </xs:complexType>
  40. <xs:element name="Capabilities" type="tse:Capabilities"/>
  41. <!--===============================-->
  42. <xs:element name="GetRecordingSummary">
  43. <xs:complexType>
  44. <xs:sequence>
  45. </xs:sequence>
  46. </xs:complexType>
  47. </xs:element>
  48. <xs:element name="GetRecordingSummaryResponse">
  49. <xs:complexType>
  50. <xs:sequence>
  51. <xs:element name="Summary" type="tt:RecordingSummary"/>
  52. </xs:sequence>
  53. </xs:complexType>
  54. </xs:element>
  55. <!--===============================-->
  56. <xs:element name="GetRecordingInformation">
  57. <xs:complexType>
  58. <xs:sequence>
  59. <xs:element name="RecordingToken" type="tt:RecordingReference"/>
  60. </xs:sequence>
  61. </xs:complexType>
  62. </xs:element>
  63. <xs:element name="GetRecordingInformationResponse">
  64. <xs:complexType>
  65. <xs:sequence>
  66. <xs:element name="RecordingInformation" type="tt:RecordingInformation"/>
  67. </xs:sequence>
  68. </xs:complexType>
  69. </xs:element>
  70. <!--===============================-->
  71. <xs:element name="GetMediaAttributes">
  72. <xs:complexType>
  73. <xs:sequence>
  74. <xs:element name="RecordingTokens" type="tt:RecordingReference" minOccurs="0" maxOccurs="unbounded"/>
  75. <xs:element name="Time" type="xs:dateTime"/>
  76. </xs:sequence>
  77. </xs:complexType>
  78. </xs:element>
  79. <xs:element name="GetMediaAttributesResponse">
  80. <xs:complexType>
  81. <xs:sequence>
  82. <xs:element name="MediaAttributes" type="tt:MediaAttributes" minOccurs="0" maxOccurs="unbounded"/>
  83. </xs:sequence>
  84. </xs:complexType>
  85. </xs:element>
  86. <!--===============================-->
  87. <xs:element name="FindRecordings">
  88. <xs:complexType>
  89. <xs:sequence>
  90. <xs:element name="Scope" type="tt:SearchScope">
  91. <xs:annotation>
  92. <xs:documentation>Scope defines the dataset to consider for this search.</xs:documentation>
  93. </xs:annotation>
  94. </xs:element>
  95. <xs:element name="MaxMatches" type="xs:int" minOccurs="0">
  96. <xs:annotation>
  97. <xs:documentation>The search will be completed after this many matches. If not specified, the search will continue until reaching the endpoint or until the session expires.</xs:documentation>
  98. </xs:annotation>
  99. </xs:element>
  100. <xs:element name="KeepAliveTime" type="xs:duration">
  101. <xs:annotation>
  102. <xs:documentation>The time the search session will be kept alive after responding to this and subsequent requests. A device shall support at least values up to ten seconds.</xs:documentation>
  103. </xs:annotation>
  104. </xs:element>
  105. </xs:sequence>
  106. </xs:complexType>
  107. </xs:element>
  108. <xs:element name="FindRecordingsResponse">
  109. <xs:complexType>
  110. <xs:sequence>
  111. <xs:element name="SearchToken" type="tt:JobToken"/>
  112. </xs:sequence>
  113. </xs:complexType>
  114. </xs:element>
  115. <!--===============================-->
  116. <xs:element name="GetRecordingSearchResults">
  117. <xs:annotation>
  118. <xs:documentation>Gets results from a particular recording listingession.</xs:documentation>
  119. </xs:annotation>
  120. <xs:complexType>
  121. <xs:sequence>
  122. <xs:element name="SearchToken" type="tt:JobToken">
  123. <xs:annotation>
  124. <xs:documentation>The search session to get results from.</xs:documentation>
  125. </xs:annotation>
  126. </xs:element>
  127. <xs:element name="MinResults" type="xs:int" minOccurs="0">
  128. <xs:annotation>
  129. <xs:documentation>The minimum number of results to return in one response.</xs:documentation>
  130. </xs:annotation>
  131. </xs:element>
  132. <xs:element name="MaxResults" type="xs:int" minOccurs="0">
  133. <xs:annotation>
  134. <xs:documentation>The maximum number of results to return in one response.</xs:documentation>
  135. </xs:annotation>
  136. </xs:element>
  137. <xs:element name="WaitTime" type="xs:duration" minOccurs="0">
  138. <xs:annotation>
  139. <xs:documentation>The maximum time before responding to the request, even if the MinResults parameter is not fulfilled.</xs:documentation>
  140. </xs:annotation>
  141. </xs:element>
  142. </xs:sequence>
  143. </xs:complexType>
  144. </xs:element>
  145. <xs:element name="GetRecordingSearchResultsResponse">
  146. <xs:complexType>
  147. <xs:sequence>
  148. <xs:element name="ResultList" type="tt:FindRecordingResultList"/>
  149. </xs:sequence>
  150. </xs:complexType>
  151. </xs:element>
  152. <!--===============================-->
  153. <xs:element name="FindEvents">
  154. <xs:annotation>
  155. <xs:documentation>Starts a search session and specifies the search parameters.</xs:documentation>
  156. </xs:annotation>
  157. <xs:complexType>
  158. <xs:sequence>
  159. <xs:element name="StartPoint" type="xs:dateTime">
  160. <xs:annotation>
  161. <xs:documentation>The point of time where the search will start.</xs:documentation>
  162. </xs:annotation>
  163. </xs:element>
  164. <xs:element name="EndPoint" type="xs:dateTime" minOccurs="0">
  165. <xs:annotation>
  166. <xs:documentation>The point of time where the search will stop. This can be a time before the StartPoint, in which case the search is performed backwards in time.</xs:documentation>
  167. </xs:annotation>
  168. </xs:element>
  169. <xs:element name="Scope" type="tt:SearchScope"/>
  170. <xs:element name="SearchFilter" type="tt:EventFilter"/>
  171. <xs:element name="IncludeStartState" type="xs:boolean">
  172. <xs:annotation>
  173. <xs:documentation>Setting IncludeStartState to true means that the server should return virtual events representing the start state for any recording included in the scope. Start state events are limited to the topics defined in the SearchFilter that have the IsProperty flag set to true.</xs:documentation>
  174. </xs:annotation>
  175. </xs:element>
  176. <xs:element name="MaxMatches" type="xs:int" minOccurs="0">
  177. <xs:annotation>
  178. <xs:documentation>The search will be completed after this many matches. If not specified, the search will continue until reaching the endpoint or until the session expires.</xs:documentation>
  179. </xs:annotation>
  180. </xs:element>
  181. <xs:element name="KeepAliveTime" type="xs:duration">
  182. <xs:annotation>
  183. <xs:documentation>The time the search session will be kept alive after responding to this and subsequent requests. A device shall support at least values up to ten seconds.</xs:documentation>
  184. </xs:annotation>
  185. </xs:element>
  186. </xs:sequence>
  187. </xs:complexType>
  188. </xs:element>
  189. <xs:element name="FindEventsResponse">
  190. <xs:complexType>
  191. <xs:sequence>
  192. <xs:element name="SearchToken" type="tt:JobToken">
  193. <xs:annotation>
  194. <xs:documentation>A unique reference to the search session created by this request.</xs:documentation>
  195. </xs:annotation>
  196. </xs:element>
  197. </xs:sequence>
  198. </xs:complexType>
  199. </xs:element>
  200. <!--===============================-->
  201. <xs:element name="GetEventSearchResults">
  202. <xs:annotation>
  203. <xs:documentation>Gets results from a particular search session.</xs:documentation>
  204. </xs:annotation>
  205. <xs:complexType>
  206. <xs:sequence>
  207. <xs:element name="SearchToken" type="tt:JobToken">
  208. <xs:annotation>
  209. <xs:documentation>The search session to get results from.</xs:documentation>
  210. </xs:annotation>
  211. </xs:element>
  212. <xs:element name="MinResults" type="xs:int" minOccurs="0">
  213. <xs:annotation>
  214. <xs:documentation>The minimum number of results to return in one response.</xs:documentation>
  215. </xs:annotation>
  216. </xs:element>
  217. <xs:element name="MaxResults" type="xs:int" minOccurs="0">
  218. <xs:annotation>
  219. <xs:documentation>The maximum number of results to return in one response.</xs:documentation>
  220. </xs:annotation>
  221. </xs:element>
  222. <xs:element name="WaitTime" type="xs:duration" minOccurs="0">
  223. <xs:annotation>
  224. <xs:documentation>The maximum time before responding to the request, even if the MinResults parameter is not fulfilled.</xs:documentation>
  225. </xs:annotation>
  226. </xs:element>
  227. </xs:sequence>
  228. </xs:complexType>
  229. </xs:element>
  230. <xs:element name="GetEventSearchResultsResponse">
  231. <xs:complexType>
  232. <xs:sequence>
  233. <xs:element name="ResultList" type="tt:FindEventResultList"/>
  234. </xs:sequence>
  235. </xs:complexType>
  236. </xs:element>
  237. <!--===============================-->
  238. <xs:element name="FindPTZPosition">
  239. <xs:annotation>
  240. <xs:documentation>Starts a search session and specifies the search parameters.</xs:documentation>
  241. </xs:annotation>
  242. <xs:complexType>
  243. <xs:sequence>
  244. <xs:element name="StartPoint" type="xs:dateTime">
  245. <xs:annotation>
  246. <xs:documentation>The point of time where the search will start.</xs:documentation>
  247. </xs:annotation>
  248. </xs:element>
  249. <xs:element name="EndPoint" type="xs:dateTime" minOccurs="0">
  250. <xs:annotation>
  251. <xs:documentation>The point of time where the search will stop. This can be a time before the StartPoint, in which case the search is performed backwards in time.</xs:documentation>
  252. </xs:annotation>
  253. </xs:element>
  254. <xs:element name="Scope" type="tt:SearchScope"/>
  255. <xs:element name="SearchFilter" type="tt:PTZPositionFilter"/>
  256. <xs:element name="MaxMatches" type="xs:int" minOccurs="0">
  257. <xs:annotation>
  258. <xs:documentation>The search will be completed after this many matches. If not specified, the search will continue until reaching the endpoint or until the session expires.</xs:documentation>
  259. </xs:annotation>
  260. </xs:element>
  261. <xs:element name="KeepAliveTime" type="xs:duration">
  262. <xs:annotation>
  263. <xs:documentation>The time the search session will be kept alive after responding to this and subsequent requests. A device shall support at least values up to ten seconds.</xs:documentation>
  264. </xs:annotation>
  265. </xs:element>
  266. </xs:sequence>
  267. </xs:complexType>
  268. </xs:element>
  269. <xs:element name="FindPTZPositionResponse">
  270. <xs:complexType>
  271. <xs:sequence>
  272. <xs:element name="SearchToken" type="tt:JobToken">
  273. <xs:annotation>
  274. <xs:documentation>A unique reference to the search session created by this request.</xs:documentation>
  275. </xs:annotation>
  276. </xs:element>
  277. </xs:sequence>
  278. </xs:complexType>
  279. </xs:element>
  280. <!--===============================-->
  281. <xs:element name="GetPTZPositionSearchResults">
  282. <xs:annotation>
  283. <xs:documentation>Gets results from a particular search session.</xs:documentation>
  284. </xs:annotation>
  285. <xs:complexType>
  286. <xs:sequence>
  287. <xs:element name="SearchToken" type="tt:JobToken">
  288. <xs:annotation>
  289. <xs:documentation>The search session to get results from.</xs:documentation>
  290. </xs:annotation>
  291. </xs:element>
  292. <xs:element name="MinResults" type="xs:int" minOccurs="0">
  293. <xs:annotation>
  294. <xs:documentation>The minimum number of results to return in one response.</xs:documentation>
  295. </xs:annotation>
  296. </xs:element>
  297. <xs:element name="MaxResults" type="xs:int" minOccurs="0">
  298. <xs:annotation>
  299. <xs:documentation>The maximum number of results to return in one response.</xs:documentation>
  300. </xs:annotation>
  301. </xs:element>
  302. <xs:element name="WaitTime" type="xs:duration" minOccurs="0">
  303. <xs:annotation>
  304. <xs:documentation>The maximum time before responding to the request, even if the MinResults parameter is not fulfilled.</xs:documentation>
  305. </xs:annotation>
  306. </xs:element>
  307. </xs:sequence>
  308. </xs:complexType>
  309. </xs:element>
  310. <xs:element name="GetPTZPositionSearchResultsResponse">
  311. <xs:complexType>
  312. <xs:sequence>
  313. <xs:element name="ResultList" type="tt:FindPTZPositionResultList"/>
  314. </xs:sequence>
  315. </xs:complexType>
  316. </xs:element>
  317. <!--===============================-->
  318. <xs:element name="FindMetadata">
  319. <xs:annotation>
  320. <xs:documentation>Starts a search session and specifies the search parameters.</xs:documentation>
  321. </xs:annotation>
  322. <xs:complexType>
  323. <xs:sequence>
  324. <xs:element name="StartPoint" type="xs:dateTime">
  325. <xs:annotation>
  326. <xs:documentation>The point of time where the search will start.</xs:documentation>
  327. </xs:annotation>
  328. </xs:element>
  329. <xs:element name="EndPoint" type="xs:dateTime" minOccurs="0">
  330. <xs:annotation>
  331. <xs:documentation>The point of time where the search will stop. This can be a time before the StartPoint, in which case the search is performed backwards in time.</xs:documentation>
  332. </xs:annotation>
  333. </xs:element>
  334. <xs:element name="Scope" type="tt:SearchScope"/>
  335. <xs:element name="MetadataFilter" type="tt:MetadataFilter"/>
  336. <xs:element name="MaxMatches" type="xs:int" minOccurs="0">
  337. <xs:annotation>
  338. <xs:documentation>The search will be completed after this many matches. If not specified, the search will continue until reaching the endpoint or until the session expires.</xs:documentation>
  339. </xs:annotation>
  340. </xs:element>
  341. <xs:element name="KeepAliveTime" type="xs:duration">
  342. <xs:annotation>
  343. <xs:documentation>The time the search session will be kept alive after responding to this and subsequent requests. A device shall support at least values up to ten seconds.</xs:documentation>
  344. </xs:annotation>
  345. </xs:element>
  346. </xs:sequence>
  347. </xs:complexType>
  348. </xs:element>
  349. <xs:element name="FindMetadataResponse">
  350. <xs:complexType>
  351. <xs:sequence>
  352. <xs:element name="SearchToken" type="tt:JobToken">
  353. <xs:annotation>
  354. <xs:documentation>A unique reference to the search session created by this request.</xs:documentation>
  355. </xs:annotation>
  356. </xs:element>
  357. </xs:sequence>
  358. </xs:complexType>
  359. </xs:element>
  360. <!--===============================-->
  361. <xs:element name="GetMetadataSearchResults">
  362. <xs:annotation>
  363. <xs:documentation>Gets results from a particular search session.</xs:documentation>
  364. </xs:annotation>
  365. <xs:complexType>
  366. <xs:sequence>
  367. <xs:element name="SearchToken" type="tt:JobToken">
  368. <xs:annotation>
  369. <xs:documentation>The search session to get results from.</xs:documentation>
  370. </xs:annotation>
  371. </xs:element>
  372. <xs:element name="MinResults" type="xs:int" minOccurs="0">
  373. <xs:annotation>
  374. <xs:documentation>The minimum number of results to return in one response.</xs:documentation>
  375. </xs:annotation>
  376. </xs:element>
  377. <xs:element name="MaxResults" type="xs:int" minOccurs="0">
  378. <xs:annotation>
  379. <xs:documentation>The maximum number of results to return in one response.</xs:documentation>
  380. </xs:annotation>
  381. </xs:element>
  382. <xs:element name="WaitTime" type="xs:duration" minOccurs="0">
  383. <xs:annotation>
  384. <xs:documentation>The maximum time before responding to the request, even if the MinResults parameter is not fulfilled.</xs:documentation>
  385. </xs:annotation>
  386. </xs:element>
  387. </xs:sequence>
  388. </xs:complexType>
  389. </xs:element>
  390. <xs:element name="GetMetadataSearchResultsResponse">
  391. <xs:complexType>
  392. <xs:sequence>
  393. <xs:element name="ResultList" type="tt:FindMetadataResultList"/>
  394. </xs:sequence>
  395. </xs:complexType>
  396. </xs:element>
  397. <!--===============================-->
  398. <xs:element name="GetSearchState">
  399. <xs:annotation>
  400. <xs:documentation>Returns the state of an ongoing search session.</xs:documentation>
  401. </xs:annotation>
  402. <xs:complexType>
  403. <xs:sequence>
  404. <xs:element name="SearchToken" type="tt:JobToken">
  405. <xs:annotation>
  406. <xs:documentation>The search session to get the state from.</xs:documentation>
  407. </xs:annotation>
  408. </xs:element>
  409. </xs:sequence>
  410. </xs:complexType>
  411. </xs:element>
  412. <xs:element name="GetSearchStateResponse">
  413. <xs:complexType>
  414. <xs:sequence>
  415. <xs:element name="State" type="tt:SearchState"/>
  416. </xs:sequence>
  417. </xs:complexType>
  418. </xs:element>
  419. <!--===============================-->
  420. <xs:element name="EndSearch">
  421. <xs:annotation>
  422. <xs:documentation>Ends an ongoing search session, freeing any resources.</xs:documentation>
  423. </xs:annotation>
  424. <xs:complexType>
  425. <xs:sequence>
  426. <xs:element name="SearchToken" type="tt:JobToken">
  427. <xs:annotation>
  428. <xs:documentation>The search session to end.</xs:documentation>
  429. </xs:annotation>
  430. </xs:element>
  431. </xs:sequence>
  432. </xs:complexType>
  433. </xs:element>
  434. <xs:element name="EndSearchResponse">
  435. <xs:complexType>
  436. <xs:sequence>
  437. <xs:element name="Endpoint" type="xs:dateTime">
  438. <xs:annotation>
  439. <xs:documentation>The point of time the search had reached when it was ended. It is equal to the EndPoint specified in Find-operation if the search was completed.</xs:documentation>
  440. </xs:annotation>
  441. </xs:element>
  442. </xs:sequence>
  443. </xs:complexType>
  444. </xs:element>
  445. <!--===============================-->
  446. <!--===============================-->
  447. </xs:schema>
  448. </wsdl:types>
  449. <wsdl:message name="GetServiceCapabilitiesRequest">
  450. <wsdl:part name="parameters" element="tse:GetServiceCapabilities"/>
  451. </wsdl:message>
  452. <wsdl:message name="GetServiceCapabilitiesResponse">
  453. <wsdl:part name="parameters" element="tse:GetServiceCapabilitiesResponse"/>
  454. </wsdl:message>
  455. <wsdl:message name="FindEventsRequest">
  456. <wsdl:part name="parameters" element="tse:FindEvents"/>
  457. </wsdl:message>
  458. <wsdl:message name="FindEventsResponse">
  459. <wsdl:part name="parameters" element="tse:FindEventsResponse"/>
  460. </wsdl:message>
  461. <wsdl:message name="GetEventSearchResultsRequest">
  462. <wsdl:part name="parameters" element="tse:GetEventSearchResults"/>
  463. </wsdl:message>
  464. <wsdl:message name="GetEventSearchResultsResponse">
  465. <wsdl:part name="parameters" element="tse:GetEventSearchResultsResponse"/>
  466. </wsdl:message>
  467. <wsdl:message name="GetSearchStateRequest">
  468. <wsdl:part name="parameters" element="tse:GetSearchState"/>
  469. </wsdl:message>
  470. <wsdl:message name="GetSearchStateResponse">
  471. <wsdl:part name="parameters" element="tse:GetSearchStateResponse"/>
  472. </wsdl:message>
  473. <wsdl:message name="EndSearchRequest">
  474. <wsdl:part name="parameters" element="tse:EndSearch"/>
  475. </wsdl:message>
  476. <wsdl:message name="EndSearchResponse">
  477. <wsdl:part name="parameters" element="tse:EndSearchResponse"/>
  478. </wsdl:message>
  479. <wsdl:message name="FindPTZPositionRequest">
  480. <wsdl:part name="parameters" element="tse:FindPTZPosition"/>
  481. </wsdl:message>
  482. <wsdl:message name="FindPTZPositionResponse">
  483. <wsdl:part name="parameters" element="tse:FindPTZPositionResponse"/>
  484. </wsdl:message>
  485. <wsdl:message name="GetPTZPositionSearchResultsRequest">
  486. <wsdl:part name="parameters" element="tse:GetPTZPositionSearchResults"/>
  487. </wsdl:message>
  488. <wsdl:message name="GetPTZPositionSearchResultsResponse">
  489. <wsdl:part name="parameters" element="tse:GetPTZPositionSearchResultsResponse"/>
  490. </wsdl:message>
  491. <wsdl:message name="GetRecordingSummaryRequest">
  492. <wsdl:part name="parameters" element="tse:GetRecordingSummary"/>
  493. </wsdl:message>
  494. <wsdl:message name="GetRecordingSummaryResponse">
  495. <wsdl:part name="parameters" element="tse:GetRecordingSummaryResponse"/>
  496. </wsdl:message>
  497. <wsdl:message name="GetRecordingInformationRequest">
  498. <wsdl:part name="parameters" element="tse:GetRecordingInformation"/>
  499. </wsdl:message>
  500. <wsdl:message name="GetRecordingInformationResponse">
  501. <wsdl:part name="parameters" element="tse:GetRecordingInformationResponse"/>
  502. </wsdl:message>
  503. <wsdl:message name="GetMediaAttributesRequest">
  504. <wsdl:part name="parameters" element="tse:GetMediaAttributes"/>
  505. </wsdl:message>
  506. <wsdl:message name="GetMediaAttributesResponse">
  507. <wsdl:part name="parameters" element="tse:GetMediaAttributesResponse"/>
  508. </wsdl:message>
  509. <wsdl:message name="FindRecordingsRequest">
  510. <wsdl:part name="parameters" element="tse:FindRecordings"/>
  511. </wsdl:message>
  512. <wsdl:message name="FindRecordingsResponse">
  513. <wsdl:part name="parameters" element="tse:FindRecordingsResponse"/>
  514. </wsdl:message>
  515. <wsdl:message name="GetRecordingSearchResultsRequest">
  516. <wsdl:part name="parameters" element="tse:GetRecordingSearchResults"/>
  517. </wsdl:message>
  518. <wsdl:message name="GetRecordingSearchResultsResponse">
  519. <wsdl:part name="parameters" element="tse:GetRecordingSearchResultsResponse"/>
  520. </wsdl:message>
  521. <wsdl:message name="FindMetadataRequest">
  522. <wsdl:part name="parameters" element="tse:FindMetadata"/>
  523. </wsdl:message>
  524. <wsdl:message name="FindMetadataResponse">
  525. <wsdl:part name="parameters" element="tse:FindMetadataResponse"/>
  526. </wsdl:message>
  527. <wsdl:message name="GetMetadataSearchResultsRequest">
  528. <wsdl:part name="parameters" element="tse:GetMetadataSearchResults"/>
  529. </wsdl:message>
  530. <wsdl:message name="GetMetadataSearchResultsResponse">
  531. <wsdl:part name="parameters" element="tse:GetMetadataSearchResultsResponse"/>
  532. </wsdl:message>
  533. <wsdl:portType name="SearchPort">
  534. <!--===============================-->
  535. <!--===============================-->
  536. <wsdl:operation name="GetServiceCapabilities">
  537. <wsdl:documentation>Returns the capabilities of the search service. The result is returned in a typed answer.</wsdl:documentation>
  538. <wsdl:input message="tse:GetServiceCapabilitiesRequest"/>
  539. <wsdl:output message="tse:GetServiceCapabilitiesResponse"/>
  540. </wsdl:operation>
  541. <!--===============================-->
  542. <wsdl:operation name="GetRecordingSummary">
  543. <wsdl:documentation>GetRecordingSummary is used to get a summary description of all recorded data. This
  544. operation is mandatory to support for a device implementing the recording search service.</wsdl:documentation>
  545. <wsdl:input message="tse:GetRecordingSummaryRequest"/>
  546. <wsdl:output message="tse:GetRecordingSummaryResponse"/>
  547. </wsdl:operation>
  548. <!--===============================-->
  549. <wsdl:operation name="GetRecordingInformation">
  550. <wsdl:documentation>Returns information about a single Recording specified by a RecordingToken. This operation
  551. is mandatory to support for a device implementing the recording search service.</wsdl:documentation>
  552. <wsdl:input message="tse:GetRecordingInformationRequest"/>
  553. <wsdl:output message="tse:GetRecordingInformationResponse"/>
  554. </wsdl:operation>
  555. <!--===============================-->
  556. <wsdl:operation name="GetMediaAttributes">
  557. <wsdl:documentation>Returns a set of media attributes for all tracks of the specified recordings at a specified point
  558. in time. Clients using this operation shall be able to use it as a non blocking operation. A
  559. device shall set the starttime and endtime of the MediaAttributes structure to equal values if
  560. calculating this range would causes this operation to block. See MediaAttributes structure for
  561. more information. This operation is mandatory to support for a device implementing the
  562. recording search service.</wsdl:documentation>
  563. <wsdl:input message="tse:GetMediaAttributesRequest"/>
  564. <wsdl:output message="tse:GetMediaAttributesResponse"/>
  565. </wsdl:operation>
  566. <!--===============================-->
  567. <wsdl:operation name="FindRecordings">
  568. <wsdl:documentation>FindRecordings starts a search session, looking for recordings that matches the scope (See
  569. 20.2.4) defined in the request. Results from the search are acquired using the
  570. GetRecordingSearchResults request, specifying the search token returned from this request.
  571. The device shall continue searching until one of the following occurs:<ul>
  572. <li>The entire time range from StartPoint to EndPoint has been searched through.</li>
  573. <li>The total number of matches has been found, defined by the MaxMatches parameter.</li>
  574. <li>The session has been ended by a client EndSession request.</li>
  575. <li>The session has been ended because KeepAliveTime since the last request related to
  576. this session has expired.</li>
  577. </ul>
  578. The order of the results is undefined, to allow the device to return results in any order they
  579. are found. This operation is mandatory to support for a device implementing the recording
  580. search service.</wsdl:documentation>
  581. <wsdl:input message="tse:FindRecordingsRequest"/>
  582. <wsdl:output message="tse:FindRecordingsResponse"/>
  583. </wsdl:operation>
  584. <!--===============================-->
  585. <wsdl:operation name="GetRecordingSearchResults">
  586. <wsdl:documentation>GetRecordingSearchResults acquires the results from a recording search session previously
  587. initiated by a FindRecordings operation. The response shall not include results already
  588. returned in previous requests for the same session. If MaxResults is specified, the response
  589. shall not contain more than MaxResults results. The number of results relates to the number of recordings.
  590. For viewing individual recorded data for a signal track use the FindEvents method.<br/>
  591. GetRecordingSearchResults shall block until:<ul>
  592. <li>
  593. MaxResults results are available for the response if MaxResults is specified.</li>
  594. <li>MinResults results are available for the response if MinResults is specified.</li>
  595. <li>WaitTime has expired.</li>
  596. <li>Search is completed or stopped.</li>
  597. </ul>
  598. This operation is mandatory to support for a device implementing the recording search service.</wsdl:documentation>
  599. <wsdl:input message="tse:GetRecordingSearchResultsRequest"/>
  600. <wsdl:output message="tse:GetRecordingSearchResultsResponse"/>
  601. </wsdl:operation>
  602. <!--===============================-->
  603. <wsdl:operation name="FindEvents">
  604. <wsdl:documentation>FindEvents starts a search session, looking for recording events (in the scope that
  605. matches the search filter defined in the request. Results from the search are
  606. acquired using the GetEventSearchResults request, specifying the search token returned from
  607. this request.<br/>
  608. The device shall continue searching until one of the following occurs:<ul>
  609. <li>
  610. The entire time range from StartPoint to EndPoint has been searched through.</li>
  611. <li>The total number of matches has been found, defined by the MaxMatches parameter.</li>
  612. <li>The session has been ended by a client EndSession request.</li>
  613. <li>The session has been ended because KeepAliveTime since the last request related to
  614. this session has expired.</li>
  615. </ul>
  616. Results shall be ordered by time, ascending in case of forward search, or descending in case
  617. of backward search. This operation is mandatory to support for a device implementing the
  618. recording search service.</wsdl:documentation>
  619. <wsdl:input message="tse:FindEventsRequest"/>
  620. <wsdl:output message="tse:FindEventsResponse"/>
  621. </wsdl:operation>
  622. <!--===============================-->
  623. <wsdl:operation name="GetEventSearchResults">
  624. <wsdl:documentation>GetEventSearchResults acquires the results from a recording event search session previously
  625. initiated by a FindEvents operation. The response shall not include results already returned in
  626. previous requests for the same session. If MaxResults is specified, the response shall not
  627. contain more than MaxResults results.<br/>
  628. GetEventSearchResults shall block until:<ul>
  629. <li>
  630. MaxResults results are available for the response if MaxResults is specified.</li>
  631. <li>MinResults results are available for the response if MinResults is specified.</li>
  632. <li>WaitTime has expired.</li>
  633. <li>Search is completed or stopped.</li>
  634. </ul>
  635. This operation is mandatory to support for a device implementing the recording search service.</wsdl:documentation>
  636. <wsdl:input message="tse:GetEventSearchResultsRequest"/>
  637. <wsdl:output message="tse:GetEventSearchResultsResponse"/>
  638. </wsdl:operation>
  639. <!--===============================-->
  640. <wsdl:operation name="FindPTZPosition">
  641. <wsdl:documentation>FindPTZPosition starts a search session, looking for ptz positions in the scope (See 20.2.4)
  642. that matches the search filter defined in the request. Results from the search are acquired
  643. using the GetPTZPositionSearchResults request, specifying the search token returned from
  644. this request.<br/>
  645. The device shall continue searching until one of the following occurs:<ul>
  646. <li>
  647. The entire time range from StartPoint to EndPoint has been searched through.</li>
  648. <li>The total number of matches has been found, defined by the MaxMatches parameter.</li>
  649. <li>The session has been ended by a client EndSession request.</li>
  650. <li>The session has been ended because KeepAliveTime since the last request related to
  651. this session has expired.</li>
  652. </ul>
  653. This operation is mandatory to support whenever CanContainPTZ is true for any metadata
  654. track in any recording on the device.</wsdl:documentation>
  655. <wsdl:input message="tse:FindPTZPositionRequest"/>
  656. <wsdl:output message="tse:FindPTZPositionResponse"/>
  657. </wsdl:operation>
  658. <!--===============================-->
  659. <wsdl:operation name="GetPTZPositionSearchResults">
  660. <wsdl:documentation>GetPTZPositionSearchResults acquires the results from a ptz position search session
  661. previously initiated by a FindPTZPosition operation. The response shall not include results
  662. already returned in previous requests for the same session. If MaxResults is specified, the
  663. response shall not contain more than MaxResults results.<br/>
  664. GetPTZPositionSearchResults shall block until:<ul>
  665. <li>
  666. MaxResults results are available for the response if MaxResults is specified.</li>
  667. <li>MinResults results are available for the response if MinResults is specified.</li>
  668. <li>WaitTime has expired.</li>
  669. <li>Search is completed or stopped.</li>
  670. </ul>
  671. This operation is mandatory to support whenever CanContainPTZ is true for any metadata
  672. track in any recording on the device.</wsdl:documentation>
  673. <wsdl:input message="tse:GetPTZPositionSearchResultsRequest"/>
  674. <wsdl:output message="tse:GetPTZPositionSearchResultsResponse"/>
  675. </wsdl:operation>
  676. <!--===============================-->
  677. <wsdl:operation name="GetSearchState">
  678. <wsdl:documentation>GetSearchState returns the current state of the specified search session. This command is deprecated .</wsdl:documentation>
  679. <wsdl:input message="tse:GetSearchStateRequest"/>
  680. <wsdl:output message="tse:GetSearchStateResponse"/>
  681. </wsdl:operation>
  682. <!--===============================-->
  683. <wsdl:operation name="EndSearch">
  684. <wsdl:documentation>EndSearch stops and ongoing search session, causing any blocking result request to return
  685. and the SearchToken to become invalid. If the search was interrupted before completion, the
  686. point in time that the search had reached shall be returned. If the search had not yet begun,
  687. the StartPoint shall be returned. If the search was completed the original EndPoint supplied
  688. by the Find operation shall be returned. When issuing EndSearch on a FindRecordings request the
  689. EndPoint is undefined and shall not be used since the FindRecordings request doesn't have
  690. StartPoint/EndPoint. This operation is mandatory to support for a device implementing the
  691. recording search service.
  692. </wsdl:documentation>
  693. <wsdl:input message="tse:EndSearchRequest"/>
  694. <wsdl:output message="tse:EndSearchResponse"/>
  695. </wsdl:operation>
  696. <!--===============================-->
  697. <wsdl:operation name="FindMetadata">
  698. <wsdl:documentation>FindMetadata starts a search session, looking for metadata in the scope (See 20.2.4) that
  699. matches the search filter defined in the request. Results from the search are acquired using
  700. the GetMetadataSearchResults request, specifying the search token returned from this
  701. request.<br/>
  702. The device shall continue searching until one of the following occurs:<ul>
  703. <li>
  704. The entire time range from StartPoint to EndPoint has been searched through.</li>
  705. <li>The total number of matches has been found, defined by the MaxMatches parameter.</li>
  706. <li>The session has been ended by a client EndSession request.</li>
  707. <li>The session has been ended because KeepAliveTime since the last request related to
  708. this session has expired.</li>
  709. </ul>
  710. This operation is mandatory to support if the MetaDataSearch capability is set to true in the
  711. SearchCapabilities structure return by the GetCapabilities command in the Device service.</wsdl:documentation>
  712. <wsdl:input message="tse:FindMetadataRequest"/>
  713. <wsdl:output message="tse:FindMetadataResponse"/>
  714. </wsdl:operation>
  715. <!--===============================-->
  716. <wsdl:operation name="GetMetadataSearchResults">
  717. <wsdl:documentation>GetMetadataSearchResults acquires the results from a recording search session previously
  718. initiated by a FindMetadata operation. The response shall not include results already returned
  719. in previous requests for the same session. If MaxResults is specified, the response shall not
  720. contain more than MaxResults results.<br/>
  721. GetMetadataSearchResults shall block until:<ul>
  722. <li>
  723. MaxResults results are available for the response if MaxResults is specified.</li>
  724. <li>MinResults results are available for the response if MinResults is specified.</li>
  725. <li>WaitTime has expired.</li>
  726. <li>Search is completed or stopped.</li>
  727. </ul>
  728. This operation is mandatory to support if the MetaDataSearch capability is set to true in the
  729. SearchCapabilities structure return by the GetCapabilities command in the Device service.</wsdl:documentation>
  730. <wsdl:input message="tse:GetMetadataSearchResultsRequest"/>
  731. <wsdl:output message="tse:GetMetadataSearchResultsResponse"/>
  732. </wsdl:operation>
  733. </wsdl:portType>
  734. <wsdl:binding name="SearchBinding" type="tse:SearchPort">
  735. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  736. <!--===============================-->
  737. <!--===============================-->
  738. <wsdl:operation name="GetServiceCapabilities">
  739. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetServiceCapabilities"/>
  740. <wsdl:input>
  741. <soap:body use="literal"/>
  742. </wsdl:input>
  743. <wsdl:output>
  744. <soap:body use="literal"/>
  745. </wsdl:output>
  746. </wsdl:operation>
  747. <!--===============================-->
  748. <wsdl:operation name="GetRecordingSummary">
  749. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetRecordingSummary"/>
  750. <wsdl:input>
  751. <soap:body use="literal"/>
  752. </wsdl:input>
  753. <wsdl:output>
  754. <soap:body use="literal"/>
  755. </wsdl:output>
  756. </wsdl:operation>
  757. <!--===============================-->
  758. <wsdl:operation name="GetRecordingInformation">
  759. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetRecordingInformation"/>
  760. <wsdl:input>
  761. <soap:body use="literal"/>
  762. </wsdl:input>
  763. <wsdl:output>
  764. <soap:body use="literal"/>
  765. </wsdl:output>
  766. </wsdl:operation>
  767. <!--===============================-->
  768. <wsdl:operation name="GetMediaAttributes">
  769. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetMediaAttributes"/>
  770. <wsdl:input>
  771. <soap:body use="literal"/>
  772. </wsdl:input>
  773. <wsdl:output>
  774. <soap:body use="literal"/>
  775. </wsdl:output>
  776. </wsdl:operation>
  777. <!--===============================-->
  778. <wsdl:operation name="FindRecordings">
  779. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/FindRecordings"/>
  780. <wsdl:input>
  781. <soap:body use="literal"/>
  782. </wsdl:input>
  783. <wsdl:output>
  784. <soap:body use="literal"/>
  785. </wsdl:output>
  786. </wsdl:operation>
  787. <!--===============================-->
  788. <wsdl:operation name="GetRecordingSearchResults">
  789. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetRecordingSearchResults"/>
  790. <wsdl:input>
  791. <soap:body use="literal"/>
  792. </wsdl:input>
  793. <wsdl:output>
  794. <soap:body use="literal"/>
  795. </wsdl:output>
  796. </wsdl:operation>
  797. <!--===============================-->
  798. <wsdl:operation name="FindEvents">
  799. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/FindEvents"/>
  800. <wsdl:input>
  801. <soap:body use="literal"/>
  802. </wsdl:input>
  803. <wsdl:output>
  804. <soap:body use="literal"/>
  805. </wsdl:output>
  806. </wsdl:operation>
  807. <!--===============================-->
  808. <wsdl:operation name="GetEventSearchResults">
  809. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetEventSearchResults"/>
  810. <wsdl:input>
  811. <soap:body use="literal"/>
  812. </wsdl:input>
  813. <wsdl:output>
  814. <soap:body use="literal"/>
  815. </wsdl:output>
  816. </wsdl:operation>
  817. <!--===============================-->
  818. <wsdl:operation name="FindPTZPosition">
  819. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/FindPTZPosition"/>
  820. <wsdl:input>
  821. <soap:body use="literal"/>
  822. </wsdl:input>
  823. <wsdl:output>
  824. <soap:body use="literal"/>
  825. </wsdl:output>
  826. </wsdl:operation>
  827. <!--===============================-->
  828. <wsdl:operation name="GetPTZPositionSearchResults">
  829. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetPTZPositionSearchResults"/>
  830. <wsdl:input>
  831. <soap:body use="literal"/>
  832. </wsdl:input>
  833. <wsdl:output>
  834. <soap:body use="literal"/>
  835. </wsdl:output>
  836. </wsdl:operation>
  837. <!--===============================-->
  838. <wsdl:operation name="GetSearchState">
  839. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetSearchState"/>
  840. <wsdl:input>
  841. <soap:body use="literal"/>
  842. </wsdl:input>
  843. <wsdl:output>
  844. <soap:body use="literal"/>
  845. </wsdl:output>
  846. </wsdl:operation>
  847. <!--===============================-->
  848. <wsdl:operation name="EndSearch">
  849. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/EndSearch"/>
  850. <wsdl:input>
  851. <soap:body use="literal"/>
  852. </wsdl:input>
  853. <wsdl:output>
  854. <soap:body use="literal"/>
  855. </wsdl:output>
  856. </wsdl:operation>
  857. <!--===============================-->
  858. <wsdl:operation name="FindMetadata">
  859. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/FindMetadata"/>
  860. <wsdl:input>
  861. <soap:body use="literal"/>
  862. </wsdl:input>
  863. <wsdl:output>
  864. <soap:body use="literal"/>
  865. </wsdl:output>
  866. </wsdl:operation>
  867. <!--===============================-->
  868. <wsdl:operation name="GetMetadataSearchResults">
  869. <soap:operation soapAction="http://www.onvif.org/ver10/search/wsdl/GetMetadataSearchResults"/>
  870. <wsdl:input>
  871. <soap:body use="literal"/>
  872. </wsdl:input>
  873. <wsdl:output>
  874. <soap:body use="literal"/>
  875. </wsdl:output>
  876. </wsdl:operation>
  877. <!--===============================-->
  878. <!--===============================-->
  879. </wsdl:binding>
  880. <wsdl:service name="SearchService">
  881. <wsdl:port name="ServicePort" binding="tse:SearchBinding">
  882. <soap:address location="http://192.168.0.51:8888/onvif/Search"/>
  883. </wsdl:port>
  884. </wsdl:service>
  885. </wsdl:definitions>