Recorder Command Service SOAP Protocol

The RecorderCommandService SOAP protocol offers commands for controlling individual devices, like cameras, speakers, microphones etc.

Typical commands on this protocols are:

  • Control of PTZ and PTZ presets
  • Trigger dry contact Outputs
  • Retrieve single JPEGs
  • Retrieve list of sequences with time/dates for recordings
  • Perform Smart Search

Before commands on this protocol can be called, an XProtect authentication token has to be obtained from the ServerCommandServiceService using the Login command.

To connect to the RecorderCommandService, use an URL like:

  • http://{host:port}/RecorderCommandService/RecorderCommandService.asmx

The host name and port number of the Recorder Command Service may be extracted from various sources:

  • From the FQID of the device. Use the fields FQID.ServerId.ServerHostname and FQID.ServerId.Serverport
  • From ServerCommandService.GetConfiguration(). Look up the device configuration in RecorderInfo and use the field WebServerUri

The WSDL specification can be downloaded from a recording server using an URL like:

  • http://{host:port}/RecorderCommandService/RecorderCommandService.asmx?wsdl

If the recording server runs with default configuration on the local machine, the WSDL will be at this URL: