TANDBERG Gatekeeper/Border Controller API User Guide
D14172.01 page 19 of 84
1.6 Exercises
The exercises in this section are based on using a TANDBERG Gatekeeper and Microsoft Internet
Explorer. Some of the examples may however also apply to other systems and other browsers.
NOTE! Replace the IP address 10.0.0.1 in the below examples with the IP address of your system.
Exercise 1
The example in this exercise shows how to read the supported XML documents from the system using
a web browser.
Enter the following address in the browsers address field:
http://10.0.0.1/status.xml
http://10.0.0.1/history.xml
http://10.0.0.1/configuration.xml
http://10.0.0.1/command.xml
http://10.0.0.1/valuespace.xml
Exercise 2
This exercise shows how to use getxml to read the supported XML documents from the system. Enter
the following expressions in the browser’s address field.
(NOTE! The first letter in the document names is uppercase):
http://10.0.0.1/getxml?location=Status
http://10.0.0.1/getxml?location=History
http://10.0.0.1/getxml?location=Configuration
http://10.0.0.1/getxml?location=Command
http://10.0.0.1/getxml?location=ValueSpace
Exercise 3
This exercise shows how to use XPath expressions to read subsets of the XML documents.
http://10.0.0.1/getxml?location=Status/SystemUnit
http://10.0.0.1/getxml?location=Configuration/SNMP/SystemContact
http://10.0.0.1/getxml?location=ValueSpace/SNMPCommunityName[@item='1’]
http://10.0.0.1/getxml?location=Configuration/IP//Address
http://10.0.0.1/getxml?location=Command/Dial