Web Services Description Language
lastmod 2021-10-16created 2021-04-0815 edits
WSDL (short for Web Services Description Language) is a web service description language, or a general term for the definition files written in it, and is written in XML. It describes the specifics of a web service, such as where the service is provided, the service message format, and the protocol.
Overview
WSDL describes a service as a collection of network endpoints, or ports. The WSDL specification provides an XML format.
WSDL is often used in combination with SOAP and XML Schema to provide web services over the Internet. A client program connecting to a web service can read the WSDL file to determine what operations are available on the server.
The current version of WSDL is 2.0. Version 1.1 was not endorsed by the W3C, but version 2.0 is a W3C recommendation. Up to version 1.1, the D in WSDL stood for Definition. WSDL 1.2 was renamed WSDL 2.0 because of its fundamental differences from WSDL 1.1. By allowing binding to all HTTP request methods (not only GET and POST as in version 1.1), the WSDL 2.0 specification offers better support for RESTful web services and is much easier to implement.
ONVIF WSDL Declaration
| WSDL Declaration | Camera http sub address | Wsdl file | Subclass | Description |
| device_service | DeviceManagement | Supports various device settings. | ||
| Media | Media | Audio/video/metadata/PTZ settings for transmission and reception. | ||
| Events | Events | Event notification | ||
| PTZ | PTZ | Pan-tilt-zoom control. | ||
| Imaging | Imaging | Various image settings | ||
| DeviceIO | DeviceIO | Input/output settings, e.g., alarm outputs or sensor inputs | ||
| Analytics | Analytics | Video analytics. |
These services are used in
- NVT (Network Video Transmitter) - A device that transmits video (IP Camera)
- NVC (Network Video Client) - A device that receives video (PC)
- NVD (Network Video Display) - A device that displays video
- NVS (Network Video Storage) - A device that stores video
- NVA (Network Video Analytic) - A device that analyzes video
and mainly operate between NVT and NVC.
For reference, the WSDL specs of ONVIF can be downloaded from Network Interface Specifications - ONVIF or Github - onvif/specs.
See also
- SOAP
- arp-scan
- WS-Discovery
- ONVIF:Example:FindDevice - How to find and communicate with cameras on the network using ONVIF