|
Table Of Contents
Defining XML Transport Parameters
Defining XML Application Parameters
Defining Authentication for XML Access
Defining XML Event Table Parameters
Troubleshooting the XML Interface
Configuration Examples for XML API
XML Transport Parameters: Example
XML Application Parameters: Example
Feature Information for XML API
Configuring the XML API
Last Updated: March 26, 2007This chapter describes the eXtensible Markup Language (XML) Application Programming Interface (API) support available in Cisco Unified Communications Manager Express (Cisco Unified CME).
Finding Feature Information in This Module
Your Cisco Unified CME version may not support all of the features documented in this module. For a list of the versions in which each feature is supported, see the "Feature Information for XML API" section.
Contents
• Configuration Examples for XML API
• Feature Information for XML API
Information About XML API
To enable XML API, you should understand the following concepts:
XML API Definition
An XML API provides an interface to Cisco Unified CME that allows an external network management system (NMS) to configure and monitor Cisco Unified CME operations.
XML API Provision Using IXI
In previous versions of Cisco Unified CME, the XML interface provided configuration and monitoring functions using the HTTP port. The XML interface ran under the HTTP server process, simultaneously parsing incoming XML requests on demand and processing them.
In Cisco Unified CME 4.0 and later versions, the XML interface is provided through the Cisco IOS XML Infrastructure (IXI), in which the parser and transport layers are separated from the application. This modularity provides scalability and enables future XML support to be developed. In Cisco Unified CME 4.0 and later versions, all Cisco Unified CME features have XML support.
How to Configure XML API
This section contains the following tasks:
• Defining XML Transport Parameters
• Defining XML Application Parameters
• Defining Authentication for XML Access
• Defining XML Event Table Parameters
• Troubleshooting the XML Interface
Note The following Cisco IOS commands that were previously used with the XML interface are no longer valid: log password, xmltest, xmlschema, and xmlthread.
Defining XML Transport Parameters
To define the XML transport method and associated parameters, perform the following steps.
SUMMARY STEPS
1. enable
2. configure terminal
3. ip http server
4. ixi transport http
5. response size fragment- size
6. request outstanding number
7. request timeout seconds
8. no shutdown
9. end
DETAILED STEPS
Defining XML Application Parameters
To set a response timeout for communication with the XML application that overrides the setting in transport configuration mode, perform the following steps.
SUMMARY STEPS
1. enable
2. configure terminal
3. ixi application cme
4. response timeout {-1 | seconds}
5. no shutdown
6. end
DETAILED STEPS
Defining Authentication for XML Access
To authenticate users for XML access, perform the following steps:
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. xml user user-name password password privilege-level
5. end
DETAILED STEPS
Defining XML Event Table Parameters
The XML event table is an internal buffer that stores captured and time-stamped events, such as phones registering and unregistering and extension status. One event equals one entry in the table. To set the maximum number of events or entries that can be stored in the XML event table and the length of time that events are retained before they are deleted from the table, perform the following steps.
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. log table max-size number
5. log table retain-timer minutes
6. end
7. show fb-its-log
8. clear telephony-service xml-event-log
DETAILED STEPS
Troubleshooting the XML Interface
Step 1 Use the debug cme-xml command to view debug messages for the Cisco Unified CME XML interface.
Configuration Examples for XML API
This section contains the following examples:
• XML Transport Parameters: Example
• XML Application Parameters: Example
XML Transport Parameters: Example
The following example selects HTTP as the XML transport method:
ip http server
ixi transport http
response size 8
request outstanding 2
request timeout 30
no shutdown
XML Application Parameters: Example
The following example sets the application response timeout to 30 seconds.
ixi application cme
response timeout 30
no shutdown
XML Authentication: Example
The following example selects HTTP as the XML transport method. It allows access for user23 with the password 3Rs92uzQ, and sets up access list 99 that accepts requests from the IP address 192.168.146.72.
ixi transport http
ip http server
!
telephony-service
xml user user23 password 3Rs92uzQ 15
XML Event Table: Example
The following example sets the maximum number of entries in the XML event table to 100 and the number of minutes to retain entries at 30:
telephony-service
log table max-size 100
log table retain-timer 30
Where to Go Next
For developer information on the XML API, see the XML Provisioning Guide for Cisco CME/SRST.
Additional References
The following sections provide references related to Cisco Unified CME features.
Related Documents
Related Topic Document TitleCisco Unified CME configuration
• Cisco Unified CME Command Reference
Cisco IOS commands
• Cisco IOS Voice Command Reference
Cisco IOS configuration
• Cisco IOS Voice Configuration Library
Phone documentation for Cisco Unified CME
Technical Assistance
Feature Information for XML API
Table 66 lists the features in this module and enhancements to the features by version.
To determine the correct Cisco IOS release to support a specific Cisco Unified CME version, see the Cisco Unified CME and Cisco IOS Software Version Compatibility Matrix at http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_documentation_roadmap09186a0080189132.html.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note Table 66 lists the Cisco Unified CME version that introduced support for a given feature. Unless noted otherwise, subsequent versions of Cisco Unified CME software also support that feature.
Posted: Wed Aug 15 13:48:42 PDT 2007
All contents are Copyright © 1992--2007 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.