Cisco Headend System Release 2.5 User Guide
4011043 Rev B
TSBroadcaster APIs and SNMP Monitoring
12-3
XML API
Introduction
The XML API provides an alternative API that can be used in environments where
writing Java programs is not practicable. XML APIs are intended to provide a simple
scripting interface that can be driven from the command line or other automated
system.
XML API Contents
The XML API consists of a small Java client program that reads in the TSBroadcaster
commands from a file in XML format and executes them. It can also retrieve
information from the TSBroadcaster and save it to a file. The script performs the
following operations:
•
•
Logs in to TSBroadcaster
•
Prints a message to standard output
•
Adds a carousel to the test stream
•
Delays 2 seconds
•
Adds a scheduled playout to the test stream
•
Delays 1 minute
•
Logs out of TSBroadcaster