Table Of Contents
AXL Serviceability API Programming
Introduction
Data Model
SOAP Binding
Character Encoding
Binding Style
Transport Protocols
Encoding Rule
Request Message
SOAP Action Header
Port
SOAP Header
Response Message
Fault Message
Namespaces
Downloading Serviceability SOAP WSDL Files
Monitoring SOAP Activity
AXL-Serviceability PerfmonPort
PerfmonListCounter
Request Format
Response Format
PerfmonListInstance
Request Format
Response Format
PerfmonQueryCounterDescription
Request Format
Response Format
PerfmonOpenSession
Request Format
Response Format
PerfmonAddCounter
Request Format
Response Format
PerfmonRemoveCounter
Request Format
Response Format
PerfmonCollectSessionData
Request Format
Response Format
PerfmonCloseSession
Request Format
Response Format
PerfmonCollectCounterData
Request Format
Response Format
Real-Time Information (RisPort)
Selecting Real-Time Information
Request Format
Response Format
Selecting CTI Real-Time Information
Request Format
Response Format
How to Get All Device Information in a Large System
Selecting SIP Device Real-Time Information
Request Format
Response Format
Interface to Get Server Names and Cluster Name
Authentication
Basic
Secure
Authorization
Rate Control
Server Query Service
Request Format
Response Format
Faults
Example
Service Interface
Get Static Service List
Request Format
Response Format
Fault
Get Service Status API
Request Format
Response Format
Fault
Request Example
Response Example
Request Example
Response Example
Do Service Deployment API
Request Format
Response Format
Fault
Request Example
Response Example
Control Services API
Request Format
Response Format
Fault
Request Example
Response Example
GetProductInformationList API
Request Format
Response Format
Fault
Example
Log Collection Service
ListNodeServiceLogs
Request Format
Response Format
Fault
Example
SelectLogFiles
Request Format
Response Format
Fault
Example
GetOneFile
Request Format
Response Format
Fault
Example
CDR on Demand Service
Security
get_file_list
Parameters
get_file
Parameters
Fault
Example
Developer Tools
View Deployed Web Services
View <Web Service> WSDL
SOAP Monitor
Password Expiration and Lockout
Application Customization for Cisco Unity Connection Servers
AXL Serviceability API Programming
This chapter describes the implementation of AXL-Serviceability APIs . Cisco Unified Communications Manager Real-Time information, Performance Counters, and Database information exposure occurs through an AXL-Serviceability interface that conforms to the World Wide Web Consortium (W3C) standard. The Web Service Description Language (WSDL) files provide interface definitions.
To access all AXL Configuration API downloads and AXL requests and responses that are found in this document, refer to http://www.cisco.com/cgi-bin/dev_support/access_level/product_support. You must have a Cisco.com account and password to access this URL.
This chapter covers the following topics:
•
Introduction
•
Data Model
•
AXL-Serviceability PerfmonPort
•
Real-Time Information (RisPort)
•
Authentication
•
Rate Control
•
Server Query Service
•
Service Interface
•
Log Collection Service
•
CDR on Demand Service
•
Developer Tools
•
Password Expiration and Lockout
•
Application Customization for Cisco Unity Connection Servers
Introduction
By exposing Cisco Unified Communications Manager real-time information, performance counter, and database information, customers can write customized applications. AXL-Serviceability APIs, extensible SOAP-based XML Web Services, conform to the Simple Object Access Protocol (SOAP) Specification 1.1 and the Web Services Description Language (WSDL) Specification 1.1. AXL-Serviceability APIs represent one server component of the Cisco Unified Communications Manager Serviceability product.
SOAP provides an XML-based communication protocol and encoding format for interapplication communication. SOAP can serve as the backbone to a new generation of cross-platform, cross-language distributed-computing applications, termed Web Services.
AXL-Serviceability APIs provide remote procedure call (RPC) style operations for clients. Clients of AXL-Serviceability APIs can run in different OS platforms and can communicate through the standard SOAP protocol. AXL-Serviceability APIs provide access to core Cisco Unified Communications Manager Serviceability functionality through an open and standard transport protocol and data model.
The AXL-Serviceability interface uses the AXIS 1.4 SOAP server with the AXIS-2250 patch.
Data Model
AXL-Serviceability APIs are based on SOAP with XML request and response messages. APIs must conform to the structure of a SOAP Envelope element. Although SOAP is a standard protocol, many of its data model aspects remain open for flexibility reasons. For example, it permits different transport protocols, such as SMTP, FTP, or HTTP, to carry SOAP messages. The implementation of a SOAP service must specify the bindings of the data model to constitute a concrete wire protocol specification.
The Web Services Description Language (WSDL) Specification 1.1 provides the mechanism to describe the complete SOAP bindings that AXL-Serviceability APIs use.
SOAP Binding
The binding section of the Serviceability SOAP WSDL files specifies AXL-Serviceability API SOAP binding information. Binding specifications apply to both request and response messages. SOAP Binding covers the aspects that are explained in the following sections.
Character Encoding
AXL-Serviceability APIs use UTF-8 to encode the data stream in both request and response SOAP messages. The encoding attribute of the XML declaration specifies UTF-8 encoding. AXL-Serviceability APIs also set "text/xml; charset='utf-8'" as the value of the Content-Type response header field. Internally, AXL-Serviceability APIs processes the data by using UCS-2 Unicode code page.
Binding Style
AXL-Serviceability APIs uses remote procedure call (RPC) binding style. In SOAP, the word operation refers to method or function. Each AXL-Serviceability API operation call gets modeled as an RPC that is encapsulated in SOAP messages. The HTTP request carries RPC calls while the HTTP response carries the call returns. The call information is modeled as a structure. The member elements of the body entry represent the accessor elements that represent the input parameters. The response data is also modeled as a structure with accessors that correspond to output parameters. Parameters that are both input and output must appear in both the request and response message.
Transport Protocols
SOAP allows different transport protocols to carry SOAP messages. AXL-Serviceability APIs use the standard HTTP as its transport. Clients use the POST verb to send requests to AXL-Serviceability APIs.
Note
AXL-Serviceability APIs do not use the M-POST method as defined in the HTTP Extension Framework.
Encoding Rule
AXL-Serviceability APIs follow the recommended data model and serialization/encoding rules as defined in Section 5.1 of SOAP Specification 1.1 for both the request and response messages. SOAP simple types are based on the built-in data types that are defined in XML Schema Part 2.
AXL-Serviceability APIs define their own data types, which are derived from the built-in types. The schemas element of the AXL-Serviceability APIs WSDL file specifies AXL-Serviceability APIs that are derived data types. AXL-Serviceability APIs use both simple and compound data types, such as arrays and structures. All operations in AXL-Serviceability APIs pass parameters by value.
For performance reasons, AXL-Serviceability APIs do not specify the size of the array elements in the response message. It leaves the size as [], which means that no particular size is specified, but the clients can determine the size by enumerating the actual number of elements that are inside the array. Point 8 of Section 5.1 of SOAP Specification 1.1 specifies this.
The target namespace URL for AXL-Serviceability API data types schema follows:
http://schemas.xmlsoap.org/soap/envelope/
AXL-Serviceability APIs qualify the first body entry in the response, which represents the call-return, with this target namespace. Similarly, clients of AXL-Serviceability APIs also need to qualify the first body entry in the request, which represents the call, with this namespace.
Request Message
With RPC-style SOAP binding, the request message contains operation call information that is encoded as a struct. The call struct, which appears as the first body entry in the request message, contains the name of the operation and the input parameters. The name of the top-level element represents the operation name. The struct contains accessor element members that represent input parameters. Operations with no parameters have no members in the struct. The names of the accessor elements match the names of the input parameters. The values of the accessor elements represent the values of the input parameters. The order of the accessor elements must match the order of the input parameters as specified in the signature of the operation.
SOAP Action Header
AXL-Serviceability APIs require SOAP clients to include the SOAP Action HTTP header field in the request message. The SOAP 1.1 specification does not place any restrictions on the format of this header. For AXL-Serviceability APIs, the soapAction attribute of the SOAP element, which is defined under the binding section of the Serviceability SOAP API WSDL files, specifies the format of the SOAP Action HTTP header. All AXL-Serviceability APIs operations use the following URI format:
"http://schemas.cisco.com/ast/soap/action/#PortName#OperationName"
Note
Because the enclosing double-quote characters (" ") are part of the URI, the header must include them.
PortName acts as a placeholder that refers to the name of the port. AXL-Serviceability APIs must support the port. OperationName represents a placeholder that refers to the name of the intended operation within the specified port. This name must match the operation name in the request body, which is specified as the name of the first body entry element. The SOAP Action header indicates the intent of the SOAP request without having to parse the body of the request. A SOAP server can check the value of this header and determine whether to fail the operation before it proceeds with parsing the XML body. This provides some efficiency on the server side and allows non-SOAP-aware intermediary HTTP servers or proxies to determine the intent of the payload.
Port
A SoapPort basically represents an instantiation of a SoapBinding with a specific network address. Because AXL-Serviceability APIs use HTTP as the transport protocol, the network address in this case specifies an HTTP request URL. SoapPortType, with specific binding rules added to it, provides a basis for the definition of SoapBinding.
The service section of the WSDL file defines the request URL for all AXL-Serviceability API operations. Every request for the AXL-Serviceability APIs operations must use this URL.
SOAP Header
As previously explained, the SOAP header provides a general way to add features to SOAP messages in a decentralized fashion with no prior contract between the sender and recipient. AXL-Serviceability APIs do not use this feature, so no Header element is expected in the envelope and gets ignored. If the Header element gets included with the mustUnderstand attribute set to 1, AXL-Serviceability APIs reply with a fault and a fault code value that is set to the mustUnderstand value.
The following example shows an AXL-Serviceability API SOAP request message with the HTTP header information:
Example
POST /perfmonservice/services/PerfmonPort HTTP/1.1
Accept: application/soap+xml, application/dime, multipart/related, text/*
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://schemas.cisco.com/ast/soap/action/#PerfmonPort#PerfmonOpenSession"
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonOpenSession xmlns:q1="http://schemas.cisco.com/ast/soap/" />
Response Message
For a successful operation call, the call-return gets encoded as a structure. The structure appears as the first body entry of the response. The call-return basically contains the output parameters or return values of the call. The name of the structure top-level element has no significance, and the SOAP 1.1 specification does not place any restriction on the name. The structure contains accessor member elements, which represent the output parameters of the call. The names of the accessor elements match the names of the output parameters. The contents of the accessor elements represent the values of the output parameters. The order of the accessor elements must match the order of output parameters as specified in the operation signatures. Operation, which does not return any value, contains no member elements in the call-return struct.
AXL-Serviceability APIs use the following naming conventions for the call-return top-level element:
SOAPAction: "http://schemas.cisco.com/ast/soap/action/#PortName #OperationName"
where OperationName represents a placeholder that refers to the name of the operation that is specified in the request message. This format specifically applies only for the AXL-Serviceability APIs implementation.
The target namespace that is described in the "Encoding Rule" section, qualifies the call-return. AXL-Serviceability APIs return HTTP status 200 when the operation succeeds.
For a failed operation call, AXL-Serviceability APIs include the SOAP fault element in the response body. Similar to call-return, the fault element also appears as the first body entry. AXL-Serviceability APIs set HTTP 500 status when sending fault messages.
Fault Message
When an AXL-Serviceability API processes a request and detects that an error occurred, it replies with a SOAP fault element in the response. The fault element appears as the first response body entry. The fault element comprises the following four subelements:
•
Fault Code Values
•
FaultString
•
FaultActor
•
Detail
Fault Code Values
AXL-Serviceability APIs use the following standard fault code values as defined in Section 4.4.1 of the SOAP 1.1 specification.
VersionMismatch
This fault code gets set when the namespace URL of the request envelope does not match.
MustUnderstand
This fault code gets set when the clients include the Header element in the envelope along with the mustUnderstand attribute set to 1. AXL-Serviceability APIs do not use the Header element. See the "SOAP Header" section for details.
Client
This fault code gets set when AXL-Serviceability APIs encounters errors that are related to the clients.
Server
This fault code gets set when AXL-Serviceability APIs encounter errors that are related to the service itself. This subelement always exists in the fault element as specified in the SOAP 1.1 specification. This represents a general classification of errors.
FaultString
AXL-Serviceability APIs set a short error description in the faultstring element that is intended for human reading. Similar to faultcode, this subelement is always present as the SOAP 1.1 specification requires. The string value of the FaultString specifically applies only to the AXL-Serviceability APIs.
FaultActor
AXL-Serviceability APIs do not set this subelement. Note that a proxy or intermediary server must include this subelement if it generates a fault message.
Detail
If an AXL-Serviceability API parses and processes the request body and determines that an error occurs afterward, it includes the detailed error information in the detail subelement.
If AXL-Serviceability APIs do not include the detail subelement in the fault element, the error does not relate to the request body. Data types that are defined in the AXL-Serviceability APIs WSDL files specify the encoding rule for the detail subelement.
The following fragments of the file describe the data types:
64 <complexType name='CallInfoType'>
66 <element name='FileName' type='xsd:string'/>
67 <element name='LineNo' type='xsd:int'/>
68 <element name='ErrorCode' type='xsd:unsignedInt'/>
69 <element name='Function' type='xsd:string'/>
70 <element name='Params' type='xsd:string'/>
74 <complexType name='ErrorInfoType'>
76 <element name='Version' type='xsd:string'/>
77 <element name='Time' type='xsd:time'/>
78 <element name='ProcId' type='xsd:unsignedInt'/>
79 <element name='ThreadId' type='xsd:unsignedInt'/>
80 <element name='ArrayOfCallInfo' type='tns:ArrayOfCallInfoType'/>
128 <complexType name='ArrayOfCallInfoType'>
130 <restriction base='SOAP-ENC:Array'>
132 <element name='CallInfo'
133 type='tns:CallInfoType' minOccurs='1' maxOccurs='unbounded'/>
AXL-Serviceability APIs name the detail entry element as ErrorInfo and the type as ErrorInfoType. This type provides a structure with several accessor elements. The Version accessor contains the build version. The Time accessor denotes the time when the error occurs. The ProcId accessor contains the process ID of the AXL-Serviceability APIs. The ThreadId accessor contains the thread ID that generates the fault. The ArrayOfCallInfo accessor contains an array of CallInfo elements.
The type for CallInfo specifies CallInfoType and also represents a structure. CallInfoType contains detailed information that describes where the error occurs in the code. It also includes the returned error code of the function, and the parameter data. The CallInfoType design allows capturing as much information as needed, so it is easy and fast to track down and investigate a problem. Depending on the implementation of the operation, several CallInfo elements can exist in the array.
The following example shows a successful AXL-Serviceability API SOAP response message with HTTP headers:
Example
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonOpenSessionResponse xmlns:m="http://schemas.cisco.com/ast/soap/">
<SessionHandle>{01944B7E-183F-44C5-977A-F31E3AE59C4C}</SessionHandle>
</m:PerfmonOpenSessionResponse>
The following example shows a failed AXL-Serviceability API SOAP response message with HTTP headers:
Example
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Perfmon error occurs</faultstring>
<m:ErrorInfo xmlns:m="http://schemas.cisco.com/ast/soap/">
<Version>3.2.0.2</Version>
<Time>07/16/2001 - 00:00:24</Time>
<ArrayOfCallInfo SOAP-ENC:arrayType="m:CallInfoType[]">
<FileName>perfmon.cpp</FileName>
<ErrorCode>3221228473</ErrorCode>
<Function>AddCounter</Function>
<Params>\\nozomi\tcp\Bad Counter Name</Params>
Namespaces
AXL-Serviceability APIs use the following XML namespaces:
•
http://schemas.xmlsoap.org/soap/envelope/
The namespace URI for the SOAP envelope
•
http://schemas.xmlsoap.org/soap/encoding/
The namespace for the SOAP-recommended encoding rule that is based on XML Schema
•
http://schemas.cisco.com/ast/soap/
The namespace URL for AXL-Serviceability API data types as defined in the WSDL file
Downloading Serviceability SOAP WSDL Files
You can download the Cisco Unified Communications Manager Release 6.0(1) serviceability SOAP WSDL files from the Cisco Unified Communications Manager server directly by simply entering a URL on the web browser. In each of the following examples "servername" must be replaced by an appropriate server IP address.
PerfmonPort SOAP requests service definitions are located at
https://servername:8443/perfmonservice/services/PerfmonPort?wsdl
RisPort SOAP requests service definitions are located at
https://servername:8443/realtimeservice/services/RisPort?wsdl
LogCollectionService SOAP requests service definitions are located at
https://servername:8443/logcollectionservice/services/LogCollectionPort?wsdl
DimeGetFile SOAP requests service definitions are located at
https://servername:8443/logcollectionservice/services/DimeGetFileService?wsdl
ControlCenterServices SOAP requests service definitions are located at
https://servername:8443/controlcenterservice/services/ControlCenterServicesPort?wsdl
SOAPMonitorService SOAP requests service definitions are located at
https://servername:8443/realtimeservice/services/SOAPMonitorService?wsdl
Clients of AXL-Serviceability APIs must download these files to know what services are available, how to form the request message, and how to interpret the response message properly. Basically, the WSDL file has what you need to know about AXL-Serviceability APIs.
Monitoring SOAP Activity
You can use AXIS SOAPMonitor to monitor SOAP activities. Point your browser to
https://servername:8443/realtimeservice/SOAPMonitor
where "servername" is replaced with an appropriate server IP address.
AXL-Serviceability PerfmonPort
PerfmonPort comprises several operations that allow clients to do the following perfmon-related tasks:
•
Collect perfmon counter data.
AXL-Serviceability APIs provide two ways to collect perfmon data:
session-based and single-transaction.
•
Get a list of all perfmon objects and counter names that are installed in a particular host.
•
Get a list of the current instances of a perfmon object.
•
Get textual description of a perfmon counter.
PerfmonListCounter
This operation returns the list of Perfmon objects and counters in a particular host.
Request Format
The PerfmonListCounter operation takes a single parameter:
•
Host
The type is xsd:string. The Host parameter contains the name or address of the target server from which the client wants to get the counter information.
The following example shows a PerfmonListCounter request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonListCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Host xsi:type="xsd:string">nozomi</Host>
Response Format
PerfmonListCounter returns information that describes the hierarchical structure of Perfmon objects and counters. The body entry includes an ArrayOfObjectInfo element. The following fragments from the AXL-Serviceability APIs WSDL file describe the types that this response uses:
106 <complexType name='ArrayOfObjectInfoType'>
106 <restriction base='SOAP-ENC:Array'>
110 <element name='ObjectInfo'
111 type='tns:ObjectInfoType' minOccurs='1' maxOccurs='unbounded'/>
The ArrayOfObjectInfo element comprises an array of ObjectInfo elements that have the following type:
56 <complexType name='ObjectInfoType'>
58 <element name='Name' type='tns:ObjectNameType'/>
59 <element name='MultiInstance' type='xsd:boolean'/>
60 <element name='ArrayOfCounter' type='tns:ArrayOfCounterType'/>
24 <simpleType name='ObjectNameType'>
25 <restriction base='string'/>
The Name element, whose type is derived from string, describes the name of the object. MultiInstance element indicates whether the object has more than one instance. The ArrayOfCounter element acts as a container for an array of Counter elements that have the following types:
44 <complexType name='CounterType'>
46 <element name='Name' type='tns:CounterNameType'/>
32 <simpleType name='CounterNameType'>
33 <restriction base='string'/>
The Name element, whose type is derived from xsd:string, describes the name of the counter.
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonListCounterResponse xmlns:m="http://schemas.cisco.com/ast/soap/">
<ArrayOfObjectInfo SOAP-ENC:arrayType="m:ObjectInfoType[]">
<Name>.NET CLR Memory</Name>
<MultiInstance>true</MultiInstance>
<ArrayOfCounter SOAP-ENC:arrayType="m:CounterType[]">
<Name># Gen 0 Collections</Name>
<Name># Gen 1 Collections</Name>
<Name>.NET CLR LocksAndThreads</Name>
<MultiInstance>true</MultiInstance>
<ArrayOfCounter SOAP-ENC:arrayType="m:CounterType[]">
<Name>Total # of Contentions</Name>
<Name>Contention Rate / sec</Name>
<Name>Current Queue Length</Name>
</m:PerfmonListCounterResponse>
PerfmonListInstance
This operation returns a list of instances of a perfmon object in a particular host. Instances of an object can dynamically come and go, and this operation returns the most recent list.
Request Format
The PerfmonListIntance operation takes the following parameters:
•
Host
The type is xsd:string. The Host parameter contains the name or address of the target server on which the object resides.
•
Object
The type is xsd:string. The Object parameter contains the name of the object.
The following example shows a PerfmonListInstance request with "nozomi" as the host and "Process" as the object parameter.
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonListInstance xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Host xsi:type="xsd:string">nozomi</Host>
<Object xsi:type="xsd:string">Process</Object>
</q1:PerfmonListInstance>
Response Format
PerfmonListInstance returns an element that named ArrayOfInstance. The type for this element specifies ArrayOfInstanceType, which is an array of Instance elements. The following fragments from AXL-Serviceability APIs .WSDL file explain the types that this response uses:
84 <complexType name='ArrayOfInstanceType'>
86 <restriction base='SOAP-ENC:Array'>
88 <element name='Instance'
89 type='tns:InstanceType' minOccurs='0' maxOccurs='unbounded'/>
Note
ArrayOfInstanceType can have 0 (zero) Instance elements, in which case the requested object is not of a multi-instance object.
50 <complexType name='InstanceType'>
52 <element name='Name' type='tns:InstanceNameType'/>
The type for Instance element specifies InstanceType. It represents a structure with a single-element member: Name.
28 <simpleType name='InstanceNameType'>
29 <restriction base='string'/>
The Name element, whose type is InstanceNameType, which is derived from xsd:string, contains the name of the instance of the requested object.
The following example shows the response to the request in the previous example:
Example
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonListInstanceResponse xmlns:m="http://schemas.cisco.com/ast/soap/">
<ArrayOfInstance SOAP-ENC:arrayType="m:InstanceType[]">
</m:PerfmonListInstanceResponse>
PerfmonQueryCounterDescription
This operation returns the help text of a particular counter.
Request Format
PerfmonQueryCounterDescription takes the following parameter:
•
Counter—The name of the counter; type is CounterNameType, which is derived from xsd:string.
The following example shows the PerfmonQueryCounterDescription request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonQueryCounterDescription
xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Counter xsi:type="xsd:string">\\nozomi\Server\Files Open</Counter>
</q1:PerfmonQueryCounterDescription>
Response Format
PerfmonQueryCounterDescription returns an element that is named HelpText that is of the xsd:string type. It contains the help text of the requested counter.
The following example shows the response to the request in the previous example.
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonQueryCounterDescriptionResponse
xmlns:m="http://schemas.cisco.com/ast/soap/">
<HelpText>The number of files currently opened in the server. Indicates
current server
</m:PerfmonQueryCounterDescriptionResponse>
PerfmonOpenSession
Client programs submit this operation to get a session handle from the AXL-Serviceability APIs. The client needs a session handle to do the session-based perfmon counter data collection. The session handle represents a universally unique identifier that is used once, which guarantees that no duplicate handles exist. AXL-Serviceability APIs keep the opened handles in cache. If no activity occurs on a handle for 25 hours, the AXL-Serviceability API removes the handle and renders it invalid.
In a session-based perfmon data collection, use the following related operations:
•
PerfmonOpenSession
•
PerfmonAddCounter
•
PerfmonRemoveCounter
•
PerfmonCollectSessionData
•
PerfmonCloseSession
After a client gets a session handle, it normally proceeds to submit the PerfmonAddCounter operation and then follows with the PerfmonCollectSessionData operation. PerfmonCollectSessionData specifies the main operation that collects perfmon data for the clients. When the client no longer needs the session handle, it should submit PerfmonCloseSession, so the AXL-Serviceability APIs can remove the handle from cache. Clients can dynamically add new counters to the session handle and remove counters from it by using the PerfmonRemoveCounter operation while the session handle is still open.
Request Format
The PerfmonOpenSession operation takes no parameter.
The following example shows the PerfmonOpenSession request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonOpenSession xmlns:q1="http://schemas.cisco.com/ast/soap/" />
Response Format
PerfmonOpenSession returns a single element that is named SessionHandle. Its type specifies SessionHandleType, which is derived from xsd:string, and it contains the guide for the session handle.
The following example shows the PerfmonOpenSession response:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonOpenSessionResponse xmlns:m="http://schemas.cisco.com/ast/soap/">
<SessionHandle>{01944B7E-183F-44C5-977A-F31E3AE59C4C}</SessionHandle>
</m:PerfmonOpenSessionResponse>
PerfmonAddCounter
This operation adds an array of counters to a session handle.
Request Format
PerfmonAddCounter takes the following parameters:
•
SessionHandle
The type is SessionHandleType, which is derived from xsd:string. It contains the session handle that the previous PerfmonOpenSession operation previously opened.
•
ArrayOfCounter
The type for this element is ArrayOfCounterType, which is an array of Counter elements. Each Counter element contains the name of a counter to be added to the session handle.
The following fragments from AXL-Serviceability APIs describe the types that this request uses:
95 <complexType name='ArrayOfCounterType'>
97 <restriction base='SOAP-ENC:Array'>
99 <element name='Counter'
100 type='tns:CounterType' minOccurs='1' maxOccurs='unbounded'/>
Note
ArrayOfCounterType expects at least one Counter element in the array.
44 <complexType name='CounterType'>
46 <element name='Name' type='tns:CounterNameType'/>
CounterType represents a structure, and it has a single element member: Name.
32 <simpleType name='CounterNameType'>
33 <restriction base='string'/>
The Name element that is of string-derived type contains the name of the counter.
The following example shows the PerfmonAddCounter request with two counters. This example uses a single-reference accessor.
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:types="http://tempuri.org/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonAddCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{1A490F1E-D82C-403F-9CF0-C4D4ABD6FF3E}
<ArrayOfCounter soapenc:arrayType="q1:CounterType[2]">
<Name>\\nozomi\process(inetinfo)\handle count</Name>
<Name>\\nozomi\process(csrss)\handle count</Name>
The following shows an example of the PerfmonAddCounter request with three counters in the ArrayOfCounter parameter. This example uses multireference accessors.
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonAddCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{1A490F1E-D82C-403F-9CF0-C4D4ABD6FF3E}
<ArrayOfCounter href="#id1"/>
xmlns:q2="http://schemas.cisco.com/ast/soap/"
soapenc:arrayType="q2:CounterType[3]">
<q3:CounterType id="id2" xsi:type="q3:CounterType"
xmlns:q3="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Segments/sec</Name>
<q4:CounterType id="id3" xsi:type="q4:CounterType"
xmlns:q4="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Connections Reset</Name>
<q5:CounterType id="id4" xsi:type="q5:CounterType"
xmlns:q5="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Connections Active</Name>
Response Format
The following example shows that the PerfmonAddCounter returns no output:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonAddCounterResponse xmlns:m="http://schemas.cisco.com/ast/soap/"/>
If PefmonAddCounter fails to add one or more counters that are specified in the request, AXL-Serviceability APIs reply with a fault response. Some counters that are specified in the request may get successfully added, while others failed to be added.
In this case, AXL-Serviceability APIs reply with a fault. The Params element of CallInfo element specifies each failed counter name. Client programs can conclude that counter names, which are specified in the request but do not appear in the fault message, actually get added successfully to the query handle.
PerfmonRemoveCounter
This operation removes an array of counters from a session handle.
Request Format
PerfmonRemoveCounter takes the following parameters:
•
SessionHandle
The type is SessionHandleType which is derived from xsd:string. It contains the session handle that the PerfmonOpenSession operation opened previously.
•
ArrayOfCounter
The type for this element is ArrayOfCounterType, which is an array of Counter elements. Each Counter element contain the name of a counter to be added to the session handle.
The following example shows a PerfmonRemoveCounter request with three counters in the ArrayOfCounter parameter. This example uses single-reference accessor style.
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:types="http://tempuri.org/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonRemoveCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{1A490F1E-D82C-403F-9CF0-C4D4ABD6FF3E}
<ArrayOfCounter soapenc:arrayType="q1:CounterType[2]">
<Name>\\nozomi\process(inetinfo)\handle count</Name>
<Name>\\nozomi\process(csrss)\handle count</Name>
<Name>\\nozomi\process(regsvc)\handle count</Name>
</q1:PerfmonRemoveCounter">
The following example shows a PerfmonRemoveCounter that uses multireference accessors.
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonRemoveCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{1A490F1E-D82C-403F-9CF0-C4D4ABD6FF3E}
<ArrayOfCounter href="#id1" />
</q1:PerfmonRemoveCounter>
<soapenc:Array id="id1" xmlns:q2="http://schemas.cisco.com/ast/soap/"
soapenc:arrayType="q2:CounterType[3]">
<q3:CounterType id="id2" xsi:type="q3:CounterType"
xmlns:q3="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Segments/sec</Name>
<q4:CounterType id="id3" xsi:type="q4:CounterType"
xmlns:q4="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Connections Reset</Name>
<q5:CounterType id="id4" xsi:type="q5:CounterType"
xmlns:q5="http://schemas.cisco.com/ast/soap/">
<Name xsi:type="xsd:string">\\nozomi\tcp\Connections Active</Name>
Response Format
PerfmonRemoveCounter returns no data in the response as shown by the following example:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonRemoveCounterResponse xmlns:m="http://schemas.cisco.com/ast/soap/"/>
If the PefmonRemoveCounter operation fails to remove one or more counters that the request specifies, the AXL-Serviceability API replies with a fault response with semantics similar to PerfmonAddCounter. If some of the counters that are specified in the request get removed successfully, while others failed to be removed, the AXL-Serviceability API replies with a fault. The Params element of CallInfo element specifies each failed counter name. Client programs can conclude that counter names, which are specified in the request but do not appear in the fault message, actually get removed successfully from the query handle.
PerfmonCollectSessionData
This operation collects the perfmon data for all counters that have been added to the query handle.
Request Format
PerfmonCollectSessionData takes the following parameter:
•
SessionHandle
The type is SessionHandleType which is derived from xsd:string. It contains the session handle that the PerfmonOpenSession operation opened previously.
The following example shows a PerfmonCollectSessionData request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonCollectSessionData xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{FB343D6D-AA6E-4EDB-9CFA-63A5A3ED6405}
</q1:PerfmonCollectSessionData>
Response Format
The PerfmonCollectSessionData operation returns the ArrayOfCounterInfo element that contains the value and status of all counters that were previously added to the session handle. The type for ArrayOfCounterInfo element specifies ArrayOfCounterInfoType, which is an array of CounterInfo elements.
The following fragments from AXL-Serviceability APIs .WSDL show the types that this response uses:
117 <complexType name='ArrayOfCounterInfoType'>
119 <restriction base='SOAP-ENC:Array'>
121 <element name='CounterInfo'
122 type='tns:CounterInfoType' minOccurs='1' maxOccurs='unbounded'/>
ArrayOfCounterInfoType has one or more CounterInfo elements in the array. The CounterInfo element includes the following type:
36 <complexType name='CounterInfoType'>
38 <element name='Name' type='tns:CounterNameType'/>
39 <element name='Value' type='xsd:long'/>
40 <element name='CStatus' type='xsd:unsignedInt'/>
32 <simpleType name='CounterNameType'>
33 <restriction base='string'/>
CounterInfoType specifies a structure with the following three element members.
•
Name
A CounterNameType, derived from xsd:string, that contains the name of the counter that was previously added to the session handle.
•
Value
A 64-bit signed integer (xsd:long) that contains the value of the counter.
•
CStatus
Indicates whether the value of the counter was successfully retrieved. The type specifies a 32-bit unsigned integer (xsd:unsignedInt). First, check for the value of CStatus element before reading the Value element. If the value of CStatus equals 0 or 1, the Value element contains a good counter value. Otherwise, it indicates a failure in retrieving the counter value; ignore the Value element.
The following example shows a PerfmonCollectSessionData response:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonCollectSessionDataResponse
xmlns:m="http://schemas.cisco.com/ast/soap/">
<ArrayOfCounterInfo SOAP-ENC:arrayType="m:CounterInfoType[]">
<Name>\\nozomi\tcp\Segments/sec</Name>
<Name>\\nozomi\tcp\Connections Reset</Name>
<Name>\\nozomi\tcp\Connections Active</Name>
</m:PerfmonCollectSessionDataResponse>
PerfmonCloseSession
This operation closes the session handle that the PerfmonOpenSession previously retrieved.
Request Format
PerfmonCloseSession takes the following parameter:
•
SessionHandle
The type is SessionHandleType which is derived from xsd:string. It contains the session handle that the PerfmonOpenSession operation previously opened.
The following example shows a PerfmonCloseSession request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonCloseSession xmlns:q1="http://schemas.cisco.com/ast/soap/">
<SessionHandle xsi:type="xsd:string">
{01944B7E-183F-44C5-977A-F31E3AE59C4C}
</q1:PerfmonCloseSession>
Response Format
The following example shows that the PerfmonCloseSession does not return data in the response:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonCloseSessionResponse xmlns:m="http://schemas.cisco.com/ast/soap/"/>
PerfmonCollectCounterData
This operation returns the perfmon data for all counters that belong to an object in a particular host. Unlike the session-based perfmon data collection, this operation collects all data in a single request/response transaction. If the object represents multiple-instance object, this operation always returns the most current instances of the object.
Request Format
PerfmonCollectCounterData takes the following parameters:
•
Host
The type is xsd:string. It contains the address of the target server from which the client wants to get the counter information.
•
Object
The type is ObjectNameType, which is derived from xsd:string. It contains the name of the perfmon object.
The following example shows a PerfmonCollectCounterData request:
Example
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:PerfmonCollectCounterData xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Host xsi:type="xsd:string">nozomi</Host>
<Object xsi:type="xsd:string">Processor</Object>
</q1:PerfmonCollectCounterData>
Response Format
PerfmonCollectCounterData returns an ArrayOfCounterInfo element, which is an array of CounterInfo elements. CounterInfoType specifies a structure with the following three element members.
•
Name
A CounterNameType, derived from xsd:string, that contains the name of the counter that was previously added to the session handle.
•
Value
A 64-bit signed integer (xsd:long) that contains the value of the counter.
•
CStatus
Indicates whether the value of the counter was successfully retrieved. The type specifies a 32-bit unsigned integer (xsd:unsignedInt). First, check for the value of CStatus element before reading the Value element. If the value of CStatus equals to 0 or 1, the Value element contains a good counter value. Otherwise, it indicates a failure in retrieving the counter value; ignore the Value element.
The following example shows a PerfmonCollectCounterData response:
Example
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<m:PerfmonCollectCounterDataResponse
xmlns:m="http://schemas.cisco.com/ast/soap/">
<ArrayOfCounterInfo SOAP-ENC:arrayType="m:CounterInfoType[]">
<Name>\\nozomi\Processor(0)\% Processor Time</Name>
<Name>\\nozomi\Processor(0)\% User Time</Name>
<Name>\\nozomi\Processor(0)\% Privileged Time</Name>
<Name>\\nozomi\Processor(0)\Interrupts/sec</Name>
</m:PerfmonCollectCounterDataResponse>
Real-Time Information (RisPort)
Selecting Real-Time Information
Request Format
SOAP Action and Envelope Information
This operation allows clients to perform Cisco Unified Communications Manager device-related queries. HTTP header should have following SOAP action for these queries.
SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"
Query information includes an Envelope as follows:
1. <?xml version="1.0" encoding="utf-8"?>
2. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
3. xmlns:tns="http://schemas.cisco.com/ast/soap/"
4. xmlns:types="http://schemas.cisco.com/ast/soap/encodedTypes"
5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Session ID
This SOAP header will have session ID that is a unique session ID from client.
8. <tns:AstHeader id="id1">
9. <SessionId xsi:type="xsd:string">SessionId</SessionId>
Selection Criteria
Selection criteria type, which is a Cisco Unified Communications Manager Selection criteria, follows the SOAP header.
12. <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
If the same information is queried over and over again, send Stateinfo from the previous request for each repetitive query by client.
14. <StateInfo xsi:type="xsd:string" />
15. <CmSelectionCriteria href="#id1"/>
16. </tns:SelectCmDevice><tns:CmSelectionCriteria id="id1"
xsi:type="tns:CmSelectionCriteria">
Maximum Devices Specification
This example specifies how many maximum devices can be returned for search criteria.
17. <MaxReturnedDevices xsi:type="xsd:unsignedInt">10</MaxReturnedDevices>
Search Device Classes
This example specifies the device class type to query for real-time status. Device classes include 'Any', 'Phone', 'Gateway', 'H323', 'Cti', 'VoiceMail', 'MediaResources', 'HuntList', 'SIPTrunk', and 'unknown'.
18. <Class xsi:type="tns:DeviceClass">Any</Class>
This example specifies the Model of the device—255 specifies all models.
19. <Model xsi:type="xsd:unsignedInt">255</Model>
Device Status in Search Criteria
Specify registered/unregistered status devices. The following example shows status 'Any', 'Registered', 'UnRegistered', 'Rejected', and 'Unknown.'
20. <Status xsi:type="tns:CmDevRegStat">Registered</Status>
The following example specifies the server name where the search needs to be performed. If no name is specified, a search in all servers in a cluster results.
21. <NodeName xsi:type="xsd:string" />
Specify Selection type whether it is IP Address/Name
22. <SelectBy xsi:type="tns:CmSelectBy">Name</SelectBy>
Array of Items for Which Search Criteria Are Specified
The following example specifies an array that contains the IP Address or Device Name of the items for which a real-time status is required.
23. <SelectItems href="#id2" />Name or IP</tns:CmSelectionCriteria
24. <soapenc:Array id="id2" soapenc:arrayType="tns:SelectItem[2]">
25. <Item href="#id3"/><Item xsi:null="1"/>
27. <tns:SelectItem id="id3" xsi:type="tns:SelectItem">
28. <Item xsi:type="xsd:string"/></tns:SelectItem>
Response Format
The Response follows the following schema and contains information for one to many servers for each server and contains a sequence of search information that is found on the search criteria.
<complexType name='SelectCmDeviceResult'>
<element name='TotalDevicesFound' type='xsd:unsignedInt'/>
<element name='CmNodes' type='tns:CmNodes'/>
CMNodes provides a list of Unified CMNodes that are given in search criteria.
<complexType name='CmNodes'>
<restriction base='SOAP-ENC:Array'>
<element name='CmNode' type='tns:CmNode' minOccurs='0 maxOccurs='unbounded'/>
Each Unified CMNode contains a sequence of devices and their registration status.
<complexType name='CmNode'>
<element name='ReturnCode' type='tns:RisReturnCode'/>
<element name='Name' type='xsd:string'/>
<element name='NoChange' type='xsd:boolean'/>
<element name='CmDevices' type='tns:CmDevices'/>
<complexType name='CmDevices'>
<restriction base='SOAP-ENC:Array'>
<element name='CmDevice' type='tns:CmDevice' minOccurs='0' maxOccurs='200'/>
The Unified CM Device information contains the following information.
<complexType name='CmDevice'>
<element name='Name' type='xsd:string'/>
<element name='IpAddress' type='xsd:string'/>
<element name='DirNumber' type='xsd:string'/>
<element name='Class' type='tns:DeviceClass'/>
<element name='Model' type='xsd:unsignedInt'/>
<element name='Product' type='xsd:unsignedInt'/>
<element name='BoxProduct'type='xsd:unsignedInt'/>
<element name='Httpd' type='tns:CmDevHttpd'/>
<element name='RegistrationAttempts' type='xsd:unsignedInt'/>
<element name='IsCtiControllable' type='xsd:boolean'/>
<element name='LoginUserId' type='xsd:string'/>
<element name='Status' type='tns:CmDevRegStat'/>
<element name='StatusReason' type='xsd:unsignedInt'/>
<element name='PerfMonObject' type='xsd:unsignedInt'/>
<element name='DChannel' type='xsd:unsignedInt'/>
<element name='Description' type='xsd:string'/>
<element name='H323Trunk' type='tns:H323Trunk'/>
<element name='TimeStamp' type='xsd:unsignedInt'/>
Selecting CTI Real-Time Information
Request Format
SOAP Action
This operation allows client to perform a CTI manager-related query.
The HTTP header should have following SOAP action:
SOAPAction: http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCtiItems
Envelope Information
The query information should have an Envelope as follows:
1. ?xml version="1.0" encoding="utf-8"?>
2. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
3. xmlns:tns="http://schemas.cisco.com/ast/soap/"
4. xmlns:types="http://schemas.cisco.com/ast/soap/encodedTypes"
5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Session ID
The following example shows a SOAP header that contains a session ID. The client sets a unique session ID.
8. <tns:AstHeader id="id1">
9. <SessionId xsi:type="xsd:string">jSessionId</SessionId>
13. <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
14. <tns:SelectCtiItem><StateInfo xsi:type="xsd:string" /><CtiSelectionCriteria
href="#id1" /></tns:SelectCtiItem>
15. <tns:CtiSelectionCriteria id="id1" xsi:type="tns:CtiSelectionCriteria">
Maximum Device Information
The following example specifies the maximum number of devices that this search needs to return:
16. <MaxReturnedItems xsi:type="xsd:unsignedInt">10</MaxReturnedItems>
CTI Application/Device/Line Specification
The following example specifies on which CTI manager class Line/Device/Provider a search is provided:
17. <CtiMgrClass xsi:type="tns:CtiMgrClass">Line</CtiMgrClass>
Status of CTI Item Search
The following example specifies the Status of class on which to search:
18. <Status xsi:type="tns:CtiStatus">Any</Status>
Server Name for Search
The following example specifies the server name on which the search is performed:
19. <NodeName xsi:type="xsd:string" />
Type of Search
The following example specifies the type of selection:
20. <SelectAppBy xsi:type="tns:CtiSelectAppBy">AppIpAddress</SelectAppBy>
List of Items That Needs to be Searched
The following example specifies an array for items for which the real-time status is required:
21. <AppItems href="#id2" />Name /IP</tns:CtiSelectionCriteria>
22. <soapenc:Array id="id2" soapenc:arrayType="tns:SelectAppItem[2]">
23. <Item href="#id3" /><Item xsi:null="1" /></soapenc:Array>
24. <tns:SelectAppItem id="id3" xsi:type="tns:SelectAppItem">
25. <AppItem xsi:type="xsd:string"/>
Response Format
The Response includes a sequence of Unified CM Nodes with sequences of CTI devices and lines real-time information:
<complexType name='CtiItem'>
<element name='AppId' type='xsd:string'/>
<element name='ProviderName' type='xsd:string'/>
<element name='UserId' type='xsd:string'/>
<element name='AppIpAddr' type='xsd:string'/>
<element name='AppStatus' type='tns:CtiStatus'/>
<element name='AppStatusReason' type='xsd:unsignedInt'/>
<element name='AppTimeStamp' type='xsd:unsignedInt'/>
<element name='CtiDevice' type='tns:CtiDevice'/>
<element name='CtiLine' type='tns:CtiLine'/>
CTI Device real-time information contains the following sequence of information:
<complexType name='CtiDevice'>
<element name='AppControlsMedia' type='xsd:boolean'/>
<element name='DeviceName' type='xsd:string'/>
<element name='DeviceStatus' type='tns:CtiStatus'/>
<element name='DeviceStatusReason' type='xsd:unsignedInt'/>
<element name='DeviceTimeStamp' type='xsd:unsignedInt'/>
CTI Line contains the following sequence of information:
<complexType name='CtiLine'>
<element name='DirNumber' type='xsd:string'/>
<element name='LineStatus' type='tns:CtiStatus'/>
<element name='LineStatusReason' type='xsd:unsignedInt'/>
<element name='LineTimeStamp' type='xsd:unsignedInt'/>
How to Get All Device Information in a Large System
The Serviceability-SOAP interface includes StateInfo as part of the response. This unique string tells the client the state of the Device server information. Clients must give this string from the first request to the next request for the same selection criteria. In that case, clients will get the response with the "NoChange" element set to True as part of CmNode. This means that the server information state has not changed from the previous state, which means that no new registration or deregistration of devices has happened. This saves lot of time for clients and servers because the server is telling the client that no change from the previous state has occurred. If "NoChange" in the response is set to False, this indicates the server information changed. In this case, the client needs to get the real-time information from the server and update the client information on the devices.
<message name="AstHeader"><part name="AstHeader" type="tns:AstHeader"/></message>
<!-- R1. SelectCmDevice -->
<message name="SelectCmDeviceInput"><part name="StateInfo" type="xsd:string"/><part
name="CmSelectionCriteria" type="tns:CmSelectionCriteria"/>
<message name="SelectCmDeviceOutput"><part name="SelectCmDeviceResult"
type="tns:SelectCmDeviceResult"/><part name="StateInfo" type="xsd:string"/>
<complexType name="SelectCmDeviceResult">
<sequence><element name="TotalDevicesFound" type="xsd:unsignedInt"/><element
name="CmNodes" type="tns:CmNodes"/>
<complexType name="CmNodes">
<complexContent><restriction base="SOAP-ENC:Array"><attribute ref="soapenc:arrayType"
wsdl:arrayType="tns:CmNode[]"/>
<complexType name="CmNode">
<element name="ReturnCode" type="tns:RisReturnCode"/><element name="Name"
type="xsd:string"/><element name="NoChange" type="xsd:boolean"/>
<element name="CmDevices" type="tns:CmDevices"/>
The system provides a maximum of 200 devices per response, as in the wsdl.
<complexType name="CmDevices"><complexContent>
<restriction base="SOAP-ENC:Array">
<sequence><element name="CmDevice" type="tns:CmDevice" minOccurs="0"
maxOccurs="200"/></sequence>
The system does this to limit the response buffer to the first 200 devices per server even though the client may have given search criteria to get all the devices in a large deployment. Searches in call-processing servers are expensive in terms of CPU cycles. Call-processing servers need to service IP phone calls. The device requests from clients should consume less memory and CPU resources. Device requests cannot exceed 20 percent of CPU resources in call-processing servers. Many clients may be requesting this information, but Cisco has limited the information to the first 200 devices.
To get all configured device information, clients must use the AXL Configuration API. Use the device information from the AXL Configuration API in "SelectItems" of the "CmSelectionCriteria" Serviceability SOAP APIs to get real-time information for the first 200 devices.
<sequence><element name="MaxReturnedDevices" type="xsd:unsignedInt"/><element
name="Class" type="tns:DeviceClass"/><element name="Model"
type="xsd:unsignedInt"/><element name="Status" type="tns:CmDevRegStat"/><element
name="NodeName" type="xsd:string"/><element name="SelectBy"
type="tns:CmSelectBy"/><element name="SelectItems" type="tns:SelectItems"/>
<complexType name="SelectItems">
<restriction base="SOAP-ENC:Array"><sequence><element name="SelectItem"
type="tns:SelectItem" minOccurs="0" maxOccurs="200"/></sequence>
For the most efficient way to get the list of devices, use "executeSQLQuery" of the AXL Configuration API. One could use an SQL equivalent to "Select name from device where tkclass = 1" to get all phones, and then iterate through the list by sending 200 at a time to the AXL Serviceability API.
Device requests per minute cannot exceed 15 per minute (by default) to the Cisco Unified Communications Manager server. Space client requests so they do not exceed 15 requests per minute. If the client requests exceed 15 per minute, the server will respond with a SOAP fault. Based on this fault, a SOAP client can adjust the request rate. The system expects these rates to take less than 20 percent of the CPU resources, which will not affect the ability of Cisco Unified Communications Manager to respond to IP Phone call requests.
Selecting SIP Device Real-Time Information
Request Format
SOAP Action
This operation allows clients to perform Cisco Unified Communications Manager SIP device related queries. The HTTP header contains the following SOAP action for these queries:
SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDeviceSIP"
Envelope Information
Query information should have an Envelope as follows.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:SelectCmDeviceSIP
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
State Info
If the same information is queried over and over again then Stateinfo needs to be sent from the previous request for each repetitive query by a client.
<StateInfo xsi:type="xsd:string"/>
The selection criteria type CmSelectionCriteriaSIP follows the optional State Info:
<CmSelectionCriteriaSIP href="#id0"/>
CmSelectionCriteriaSIP comprises the following items:
•
MaxReturnedDevices—Specifies how many maximum devices that can be returned for search criteria
<MaxReturnedDevices xsi:type="xsd:unsignedInt">200</MaxReturnedDevices>
•
Class—Specifies the device class type that needs to be queried for Real-time status. Device classes are Any, Phone, Gateway, H323, Cti, VoiceMail, MediaResources and Unknown.
<Class xsi:type="xsd:string">Any</Class>
•
Model—Specifies the model of the device. 255 applies for all models.
<Model xsi:type="xsd:unsignedInt">255</Model>
•
Status—Specifies the device status in search criteria, which is one of Any, Registered, UnRegistered, Rejected, PartiallyRegistered or Unknown.
<Status xsi:type="xsd:string">Registered</Status>
•
NodeName—Specifies the server name where the search needs to be performed. If you do not specify a name, the system will search in all servers in cluster.
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
•
SelectBy—Specifies the selection type for whether it is IP Address/Name.
<SelectBy xsi:type="xsd:string">Name</SelectBy>
•
SelectItems—Specifies the array of items for which search criteria is specified. The following specifies an array that contains the IP Address or Device Name of the items for which the real-time status is needed.
<SelectItems xsi:type="ns2:SelectItem" xsi:nil="true"/>
•
Protocol—Specifies the protocol name in the search criteria, which is one of Any, SCCP, SIP, or Unknown.
<Protocol xsi:type="ns3:Protocol" xsi:nil="true"/>
Response Format
Response follows this schema and contains one to many node information, plus the stateInfo that the SOAP server returns. Each node includes a sequence of search information that was found based on the search criteria.
<complexType name='SelectCmDeviceResultSIP'>
<element name='TotalDevicesFound' type='xsd:unsignedInt'/>
<element name='CmNodes' type='tns:CmNodesSIP'/>
CmNodesSIP is list of CmNodeSIP that are given in the search criteria.
<complexType name="CmNodesSIP">
<restriction base="SOAP-ENC:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="tns:CmNodeSIP[]"/>
Each CmNodesSIP has a sequence of devices and their registration status.
<complexType name='CmNodeSIP'>
<element name='ReturnCode' type='tns:RisReturnCode'/>
<element name='Name' type='xsd:string'/>
<element name='NoChange' type='xsd:boolean'/>
<element name='CmDevices' type='tns:CmDevicesSIP'/>
<complexType name="CmDevicesSIP">
<restriction base="SOAP-ENC:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="tns:CmDeviceSIP[]"/>
CmDeviceSIP information will contain the following information:
<complexType name="CmDeviceSIP">
<element name="Name" type="xsd:string"/>
<element name="IpAddress" type="xsd:string"/>
<element name="DirNumber" type="xsd:string"/>
<element name="Class" type="tns:DeviceClass"/>
<element name="Model" type="xsd:unsignedInt"/>
<element name="Product" type="xsd:unsignedInt"/>
<element name="BoxProduct" type="xsd:unsignedInt"/>
<element name="Httpd" type="tns:CmDevHttpd"/>
<element name="RegistrationAttempts" type="xsd:unsignedInt"/>
<element name="IsCtiControllable" type="xsd:boolean"/>
<element name="LoginUserId" type="xsd:string"/>
<element name="Status" type="tns:CmDevRegStat"/>
<element name="StatusReason" type="xsd:unsignedInt"/>
<element name="PerfMonObject" type="xsd:unsignedInt"/>
<element name="DChannel" type="xsd:unsignedInt"/>
<element name="Description" type="xsd:string"/>
<element name="H323Trunk" type="tns:H323Trunk"/>
<element name="TimeStamp" type="xsd:unsignedInt"/>
<element name="Protocol" type="tns:ProtocolType"/>
<element name="NumOfLines" type="xsd:unsignedInt"/>
<element name="LinesStatus" type="tns:CmDevLinesStatus"/>
Protocol defines the following enumerated protocol types:
<simpleType name="ProtocolType">
<restriction base="string">
<enumeration value="Any"/>
<enumeration value="SCCP"/>
<enumeration value="SIP"/>
<enumeration value="Unknown"/>
CmDevLinesStatus is a list of CmDevSingleLineStatus:
<complexType name="CmDevLinesStatus">
<restriction base="SOAP-ENC:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="tns:CmDevSingleLineStatus[]"/>
CmSingleLineStatus is a sequence of DN and DN status:
<complexType name="CmDevSingleLineStatus">
<element name="DirectoryNumber" type="xsd:string"/>
<element name="Status" type="tns:CmSingleLineStatus"/>
CmSingleLineStatus defines the enumerated DN status as follows:
<simpleType name="CmSingleLineStatus">
<restriction base="string">
<enumeration value="Any"/>
<enumeration value="Registered"/>
<enumeration value="UnRegistered"/>
<enumeration value="Rejected"/>
<enumeration value="Unknown"/>
Example
The following example shows a SelectCmDeviceSIP response:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:SelectCmDeviceSIPResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<SelectCmDeviceResultSIP xsi:type="ns1:SelectCmDeviceResultSIP">
<TotalDevicesFound xsi:type="xsd:unsignedInt">4</TotalDevicesFound>
<CmNodes xsi:type="soapenc:Array" soapenc:arrayType="ns1:CmNodeSIP[2]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ReturnCode xsi:type="ns1:RisReturnCode">Ok</ReturnCode>
<Name xsi:type="xsd:string">node70</Name>
<NoChange xsi:type="xsd:boolean">false</NoChange>
<CmDevices xsi:type="soapenc:Array" soapenc:arrayType="ns1:CmDeviceSIP[4]">
<Name xsi:type="xsd:string">SEP003094C25B01</Name>
<IpAddress xsi:type="xsd:string">192.20.0.1</IpAddress>
<DirNumber xsi:type="xsd:string">5001-Registered</DirNumber>
<Class xsi:type="ns1:DeviceClass">Phone</Class>
<Model xsi:type="xsd:unsignedInt">7</Model>
<Product xsi:type="xsd:unsignedInt">35</Product>
<BoxProduct xsi:type="xsd:unsignedInt" xsi:nil="true"/>
<Httpd xsi:type="ns1:CmDevHttpd">Yes</Httpd>
<RegistrationAttempts xsi:type="xsd:unsignedInt">0</RegistrationAttempts>
<IsCtiControllable xsi:type="xsd:boolean">true</IsCtiControllable>
<LoginUserId xsi:type="xsd:string">jdas0</LoginUserId>
<Status xsi:type="ns1:CmDevRegStat">Registered</Status>
<StatusReason xsi:type="xsd:unsignedInt">0</StatusReason>
<PerfMonObject xsi:type="xsd:unsignedInt">2</PerfMonObject>
<DChannel xsi:type="xsd:unsignedInt">0</DChannel>
<Description xsi:type="xsd:string">Fake data</Description>
<H323Trunk xsi:type="ns1:H323Trunk">
<ConfigName xsi:type="xsd:string" xsi:nil="true"/>
<TechPrefix xsi:type="xsd:string" xsi:nil="true"/>
<Zone xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer1 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer2 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer3 xsi:type="xsd:string" xsi:nil="true"/>
<AltGkList xsi:type="xsd:string" xsi:nil="true"/>
<ActiveGk xsi:type="xsd:string" xsi:nil="true"/>
<CallSignalAddr xsi:type="xsd:string" xsi:nil="true"/>
<RasAddr xsi:type="xsd:string" xsi:nil="true"/>
<TimeStamp xsi:type="xsd:unsignedInt">1110841855</TimeStamp>
<Protocol xsi:type="ns1:ProtocolType">SIP</Protocol>
<NumOfLines xsi:type="xsd:unsignedInt">1</NumOfLines>
<LinesStatus xsi:type="soapenc:Array"
soapenc:arrayType="ns1:CmDevSingleLineStatus[1]">
<DirectoryNumber xsi:type="xsd:string">5001</DirectoryNumber>
<Status xsi:type="ns1:CmSingleLineStatus">Registered</Status>
<Name xsi:type="xsd:string">SEP003094C25B02</Name>
<IpAddress xsi:type="xsd:string">192.20.0.2</IpAddress>
<DirNumber xsi:type="xsd:string">5002-Registered</DirNumber>
<Class xsi:type="ns1:DeviceClass">Phone</Class>
<Model xsi:type="xsd:unsignedInt">7</Model>
<Product xsi:type="xsd:unsignedInt">35</Product>
<BoxProduct xsi:type="xsd:unsignedInt" xsi:nil="true"/>
<Httpd xsi:type="ns1:CmDevHttpd">Yes</Httpd>
<RegistrationAttempts xsi:type="xsd:unsignedInt">0</RegistrationAttempts>
<IsCtiControllable xsi:type="xsd:boolean">true</IsCtiControllable>
<LoginUserId xsi:type="xsd:string">jdas1</LoginUserId>
<Status xsi:type="ns1:CmDevRegStat">Registered</Status>
<StatusReason xsi:type="xsd:unsignedInt">0</StatusReason>
<PerfMonObject xsi:type="xsd:unsignedInt">2</PerfMonObject>
<DChannel xsi:type="xsd:unsignedInt">0</DChannel>
<Description xsi:type="xsd:string">Fake data</Description>
<H323Trunk xsi:type="ns1:H323Trunk">
<ConfigName xsi:type="xsd:string" xsi:nil="true"/>
<TechPrefix xsi:type="xsd:string" xsi:nil="true"/>
<Zone xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer1 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer2 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer3 xsi:type="xsd:string" xsi:nil="true"/>
<AltGkList xsi:type="xsd:string" xsi:nil="true"/>
<ActiveGk xsi:type="xsd:string" xsi:nil="true"/>
<CallSignalAddr xsi:type="xsd:string" xsi:nil="true"/>
<RasAddr xsi:type="xsd:string" xsi:nil="true"/>
<TimeStamp xsi:type="xsd:unsignedInt">1110841855</TimeStamp>
<Protocol xsi:type="ns1:ProtocolType">SIP</Protocol>
<NumOfLines xsi:type="xsd:unsignedInt">1</NumOfLines>
<LinesStatus xsi:type="soapenc:Array"
soapenc:arrayType="ns1:CmDevSingleLineStatus[1]">
<DirectoryNumber xsi:type="xsd:string">5002</DirectoryNumber>
<Status xsi:type="ns1:CmSingleLineStatus">Registered</Status>
<Name xsi:type="xsd:string">SEP003094C25B03</Name>
<IpAddress xsi:type="xsd:string">192.20.0.3</IpAddress>
<DirNumber xsi:type="xsd:string">5003-Registered</DirNumber>
<Class xsi:type="ns1:DeviceClass">Phone</Class>
<Model xsi:type="xsd:unsignedInt">7</Model>
<Product xsi:type="xsd:unsignedInt">35</Product>
<BoxProduct xsi:type="xsd:unsignedInt" xsi:nil="true"/>
<Httpd xsi:type="ns1:CmDevHttpd">Yes</Httpd>
<RegistrationAttempts xsi:type="xsd:unsignedInt">0</RegistrationAttempts>
<IsCtiControllable xsi:type="xsd:boolean">true</IsCtiControllable>
<LoginUserId xsi:type="xsd:string">jdas2</LoginUserId>
<Status xsi:type="ns1:CmDevRegStat">Registered</Status>
<StatusReason xsi:type="xsd:unsignedInt">0</StatusReason>
<PerfMonObject xsi:type="xsd:unsignedInt">2</PerfMonObject>
<DChannel xsi:type="xsd:unsignedInt">0</DChannel>
<Description xsi:type="xsd:string">Fake data</Description>
<H323Trunk xsi:type="ns1:H323Trunk">
<ConfigName xsi:type="xsd:string" xsi:nil="true"/>
<TechPrefix xsi:type="xsd:string" xsi:nil="true"/>
<Zone xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer1 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer2 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer3 xsi:type="xsd:string" xsi:nil="true"/>
<AltGkList xsi:type="xsd:string" xsi:nil="true"/>
<ActiveGk xsi:type="xsd:string" xsi:nil="true"/>
<CallSignalAddr xsi:type="xsd:string" xsi:nil="true"/>
<RasAddr xsi:type="xsd:string" xsi:nil="true"/>
<TimeStamp xsi:type="xsd:unsignedInt">1110841855</TimeStamp>
<Protocol xsi:type="ns1:ProtocolType">SIP</Protocol>
<NumOfLines xsi:type="xsd:unsignedInt">1</NumOfLines>
<LinesStatus xsi:type="soapenc:Array"
soapenc:arrayType="ns1:CmDevSingleLineStatus[1]">
<DirectoryNumber xsi:type="xsd:string">5003</DirectoryNumber>
<Status xsi:type="ns1:CmSingleLineStatus">Registered</Status>
<Name xsi:type="xsd:string">SEP003094C25B04</Name>
<IpAddress xsi:type="xsd:string">192.20.0.4</IpAddress>
<DirNumber xsi:type="xsd:string">5004-Registered</DirNumber>
<Class xsi:type="ns1:DeviceClass">Phone</Class>
<Model xsi:type="xsd:unsignedInt">7</Model>
<Product xsi:type="xsd:unsignedInt">35</Product>
<BoxProduct xsi:type="xsd:unsignedInt" xsi:nil="true"/>
<Httpd xsi:type="ns1:CmDevHttpd">Yes</Httpd>
<RegistrationAttempts xsi:type="xsd:unsignedInt">0</RegistrationAttempts>
<IsCtiControllable xsi:type="xsd:boolean">true</IsCtiControllable>
<LoginUserId xsi:type="xsd:string">jdas3</LoginUserId>
<Status xsi:type="ns1:CmDevRegStat">Registered</Status>
<StatusReason xsi:type="xsd:unsignedInt">0</StatusReason>
<PerfMonObject xsi:type="xsd:unsignedInt">2</PerfMonObject>
<DChannel xsi:type="xsd:unsignedInt">0</DChannel>
<Description xsi:type="xsd:string">Fake data</Description>
<H323Trunk xsi:type="ns1:H323Trunk">
<ConfigName xsi:type="xsd:string" xsi:nil="true"/>
<TechPrefix xsi:type="xsd:string" xsi:nil="true"/>
<Zone xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer1 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer2 xsi:type="xsd:string" xsi:nil="true"/>
<RemoteCmServer3 xsi:type="xsd:string" xsi:nil="true"/>
<AltGkList xsi:type="xsd:string" xsi:nil="true"/>
<ActiveGk xsi:type="xsd:string" xsi:nil="true"/>
<CallSignalAddr xsi:type="xsd:string" xsi:nil="true"/>
<RasAddr xsi:type="xsd:string" xsi:nil="true"/>
<TimeStamp xsi:type="xsd:unsignedInt">1110841855</TimeStamp>
<Protocol xsi:type="ns1:ProtocolType">SIP</Protocol>
<NumOfLines xsi:type="xsd:unsignedInt">1</NumOfLines>
<LinesStatus xsi:type="soapenc:Array"
soapenc:arrayType="ns1:CmDevSingleLineStatus[1]">
<DirectoryNumber xsi:type="xsd:string">5004</DirectoryNumber>
<Status xsi:type="ns1:CmSingleLineStatus">Registered</Status>
<ReturnCode xsi:type="ns1:RisReturnCode">NotFound</ReturnCode>
<Name xsi:type="xsd:string">node71</Name>
<NoChange xsi:type="xsd:boolean">false</NoChange>
<CmDevices xsi:type="soapenc:Array" soapenc:arrayType="ns1:CmDeviceSIP[0]"/>
</SelectCmDeviceResultSIP>
<StateInfo xsi:type="xsd:string"><StateInfo><Node Name="node70"
SubsystemStartTime="1110841841" StateId="8"
TotalItemsFound="4" TotalItemsReturned="4"/><Node
Name="node71" SubsystemStartTime="1110688669" StateId="5772"
TotalItemsFound="0"
TotalItemsReturned="0"/></StateInfo></StateInfo>
</ns1:SelectCmDeviceSIPResponse>
Interface to Get Server Names and Cluster Name
The interface to get cluster name getServiceParameter, interface to get configured servers in cluster listProcessNodeByService, and interface to get configured devices in cluster listDeviceByNameAndClass get defined as part of the AXL-DB WSDL file.
Authentication
The following sections describe the currently used authentication.
Note
To improve performance, the SOAP server uses a timed finite cache of authentication and authorization information for up to 100 users. Cached information persists for up to 2 minutes.
Basic
Basic authentication uses base64 to encode and decode the credential information. Because base64 is a two-way function, which requires no key, this protocol represents an insecure clear-text authentication. Many platforms implement Basic authentication and most HTTP client agents support it. Basic authentication can be secure if encryption, such as SSL, is used.
Secure
When you install/upgrade Cisco Unified Communications Manager, the HTTPS self-signed certificate, httpscert.cer, automatically installs on the default website that hosts the Cisco Unified Communications Manager virtual directories.
Hypertext Transfer Protocol over Secure Sockets Layer (SSL), which secures communication between the browser client and the server, uses a certificate and a public key to encrypt the data that is transferred over the internet. HTTPS also ensures that the user login password transports securely via the web.
The following Cisco Unified Communications Manager applications support HTTPS, which ensures the identity of the server:
•
Cisco Unified Communications Manager Administration
•
Cisco Unified Communications Manager Serviceability
•
Cisco Unified IP Phone User Option Pages
•
Cisco Unified Communications Manager Bulk Administration
•
Cisco Unified Communications Manager Auto-Register Phone Tool
•
Cisco Unified Communications Manager CDR Analysis and Reporting
•
Cisco Unified Communications Manager Trace Collection Tool
•
Cisco Unified Communications Manager Real Time Monitoring Tool
For more information, refer to the Cisco Unified Communications Manager Security Guide, Release 6.0.
Authorization
Each LDAP user gets checked against an MLA configuration for permissions. If the LDAP user in basic authentication does not have permission to "Read and Execute," the access to SOAP APIs gets denied.
Rate Control
The AXL-Serviceability Interface includes a request rate control mechanism that monitors the request rates for the complete system. If the request rate is more than supported, the system sends a "SOAP Fault" to the client and blocks the request. This rate control gets enabled for "Real-time Data requests" and "Perfmon Data Requests." These rates get controlled through "Enterprise parameters" as shown in Figure 2-1. The system also provides Help for these parameter configurations as shown in Figure 2-2.
Figure 2-1 Rate Control Enterprise Parameters
Figure 2-2 Help for Rate Control Enterprise Parameters
Server Query Service
The system exports the following information from the Server Information SOAP interface:
•
Host Name =MCS-SD4
•
OS Name =Linux
•
OS Arch =i386
•
OS Version =2.4.21-15.ELsmp
•
Java Runtime Version =1.4.2_05-b04
•
Java Virtual Machine vendor =Sun Microsystems Inc.
•
CallManager Version =6.0.1
The getServerInfo operation comprises the getServerInfoRequest and getServerInfoResponse:
-<wsdl:operation name="getServerInfo">
<wsdlsoap:operation
soapAction="http://schemas.cisco.com/ast/soap/action/#PerfmonPort#GetServerInfo" />
- <wsdl:input name="getServerInfoRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://schemas.cisco.com/ast/soap/" use="encoded" />
- <wsdl:output name="getServerInfoResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://schemas.cisco.com/ast/soap/" use="encoded" />
Request Format
In the request, an ArrayOfHosts definition gets specified, and the response provides the server information for the list of hostnames that are specified in the array.
- <wsdl:message name="getServerInfoRequest">
<wsdl:part name="Hosts" type="impl:ArrayOfHosts" />
Response Format
The response comprises an ArrayOfServerInfo:
- <wsdl:message name="getServerInfoResponse">
<wsdl:part name="ServerInfo" type="impl:ArrayOfServerInfo" />
- <complexType name="ArrayOfServerInfo">
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ServerInformation[]" />
ServerInformation comprises the following sequence of elements:
- <complexType name="ServerInformation">
<element name="HostName" nillable="true" type="xsd:string" />
<element name="os-name" nillable="true" type="xsd:string" />
<element name="os-version" nillable="true" type="xsd:string" />
<element name="os-arch" nillable="true" type="xsd:string" />
<element name="java-runtime-version" nillable="true" type="xsd:string" />
<element name="java-vm-vendor" nillable="true" type="xsd:string" />
<element name="call-manager-version" nillable="true" type="xsd:string" />
Faults
The Server will send a fault for "Error message context is NULL." This error will not appear in normal operation.
The following fault gets sent if an HTTPS connection fails to a remote server — "Error initiating https connection to <URL>."
Example
Request example
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServerInfo soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<Hosts xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>172.19.240.90</item>
Response example
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServerInfoResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServerInfo xsi:type="soapenc:Array" soapenc:arrayType="ns1:ServerInformation[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<HostName xsi:type="xsd:string">MCS-SD4</HostName>
<os-name xsi:type="xsd:string">Linux</os-name>
<os-version xsi:type="xsd:string">2.4.21-15.ELsmp</os-version>
<os-arch xsi:type="xsd:string">i386</os-arch>
<java-runtime-version xsi:type="xsd:string">1.4.2_05-b04</java-runtime-version>
<java-vm-vendor xsi:type="xsd:string">Sun Microsystems Inc.</java-vm-vendor>
< Active_Versions xsi:type="xsd:string"> list of rpm separated by :
</Active_Versions>
<In_Active_Versions xsi:type="xsd:string">list of rpm separated by :
</In_Active_Versions>
</ns1:GetServerInfoResponse>
Service Interface
The Service Interface allows you to do Service Deploy, Service UnDeploy, Get Service List, and perform service starts and stops.
Get Static Service List
This soapGetStaticServiceList API allows clients to perform a query for all services static specification in the system. It returns the array of service static specification, which is composed of service name, type (servlet or service), deployable or undeployable service, group name, and dependent services.
Request Format
The HTTP header should have following SOAP action and envelop information:
<operation name="soapGetStaticServiceList">
<soap:operation
soapAction="http://schemas.cisco.com/ast/soap/action/#ControlCenterServices#soapGetSer
viceList"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
The soapGetStaticServiceList operation takes only one dummy string typed parameter.
Response Format
The response contains the ArrayOfServiceSpecification information that is defined as follows:
<complexType name="StaticServiceList">
<element name="Services" type="tns:ArrayOfServiceSpecification"/>
ArrayOfServiceSpecification is an array of ServiceSpecification defined as follows:
<complexType name="ArrayOfServiceSpecification">
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="tns:ServiceSpecification[]"/>
ServiceSpecification contains information defined as follows:
<complexType name="ServiceSpecification">
<element name="ServiceName" type="xsd:string"/>
<element name="ServiceType" type="tns:ServiceTypes"/>
<element name="Deployable" type="boolean"/>
<element name="GroupName" type="xsd:string"/>
<element name="DependentServices" type="tns:ArrayOfServices"/>
where ServiceTypes defines the type of service, defined as follows:
<simpleType name="ServiceTypes">
<restriction base="xsd:string">
<enumeration value="Service"/>
<enumeration value="Servlet"/>
ArrayOfServices defines the dependent services for the service, defined as an array:
<complexType name="ArrayOfServices">
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
Fault
Invalid Service Configuration Files
Static service specification comes from two service configuration xml files:
•
/usr/local/cm/conf/ccmservice/ActivateConf.xml
•
/usr/local/cm/conf/ccmservice/ServicesConf.xml
If one of the files does not exist or has an invalid format, an empty list of static service specification will appear in the response.
Response Example
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetStaticServiceListResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<StaticServiceList xsi:type="ns2:StaticServiceList"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<Services xsi:type="soapenc:Array" soapenc:arrayType="ns2:ServiceSpecification[0]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/>
</ns1:GetStaticServiceListResponse>
Request Example
The following example shows a request for getting a static service specification list :
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetStaticServiceList
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse
xsi:type="xsd:string">test</ServiceInformationResponse>
</ns1:GetStaticServiceList>
Response Example
The following example shows a response for getting a static service specification list:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetStaticServiceListResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<StaticServiceList xsi:type="ns2:StaticServiceList"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<Services xsi:type="soapenc:Array"
soapenc:arrayType="ns2:ServiceSpecification[50]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ServiceName xsi:type="xsd:string">Cisco Unified Communications
Manager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Messaging Interface</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco IP Voice Media Streaming App
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco CTIManager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco Unified Communications Manager</item>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager
Attendant Console Server
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CTI Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco RIS Data Collector</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco Extension Mobility</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Extended Functions</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Voice Quality Reporter Services
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Serviceability Reporter
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco AMC Service</item>
<ServiceName xsi:type="xsd:string">Cisco CTL Provider</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco WebDialer Web Service
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco CDR Repository Manager
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Certificate Authority Proxy
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco CDR Agent</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco SOAP - CDRonDemand Service
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<ServiceName xsi:type="xsd:string">Cisco CAR Scheduler</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[3]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<item>Cisco CAR Web Service</item>
<ServiceName xsi:type="xsd:string">Cisco CAR Web Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[3]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<item>Cisco CAR Scheduler</item>
<ServiceName xsi:type="xsd:string">Cisco AMC Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Unified CM SNMP Service<
/ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DirSync</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco AXL Web Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Database and Admin Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DRF Master</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DRF Local</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco Unified IP Phone Services<
/ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications
Manager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Messaging Interface</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco IP Voice Media Streaming App
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco CTIManager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco Unified Communications Manager</item>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager
Attendant
Console Server</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CTI Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco RIS Data Collector</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco Extension Mobility</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Extended Functions</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">Voice Quality Reporter Services
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Serviceability Reporter
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco AMC Service</item>
<ServiceName xsi:type="xsd:string">Cisco CTL Provider</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco WebDialer Web Service
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco CDR Repository Manager
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Certificate Authority Proxy
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco CDR Agent</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco SOAP - CDRonDemand Service
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[2]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<ServiceName xsi:type="xsd:string">Cisco CAR Scheduler</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[3]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<item>Cisco CAR Web Service</item>
<ServiceName xsi:type="xsd:string">Cisco CAR Web Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CDR Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[3]">
<item>Cisco RIS Data Collector</item>
<item>Cisco CDR Repository Manager</item>
<item>Cisco CAR Scheduler</item>
<ServiceName xsi:type="xsd:string">Cisco AMC Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="soapenc:Array"
soapenc:arrayType="xsd:string[1]">
<item>Cisco RIS Data Collector</item>
<ServiceName xsi:type="xsd:string">Cisco Unified CM SNMP Service<
/ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DirSync</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco AXL Web Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">Database and Admin Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DRF Master</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco DRF Local</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<ServiceName xsi:type="xsd:string">Cisco Unified IP Phone Services<
/ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">false</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
</ns1:GetStaticServiceListResponse>
Get Service Status API
This soapGetServiceStatus API allows clients to perform a list of deployable/undeployable services status query. It returns the service status response information for the services that have been queried. It also allows getting all of the services current status by providing an empty list of services.
Request Format
HTTP header should have following SOAP action and envelop information:
<operation name="soapGetServiceStatus">
<soap:operation
soapAction="http://schemas.cisco.com/ast/soap/action/#ControlCenterServices#soapGetSer
viceStatus"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
The soapGetServiceStatus operation takes one array of service names for which their statuses are queried.
<GetServiceStatusList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>service name</item>
If the array of service names is empty in the request, the response will contain service status information for all services in the system.
Response Format
The response contains the performed query information that is defined as follows:
<complexType name="ServiceInformationResponse">
<element name="ReturnCode" type="tns:ReturnCode"/>
<element name="ReasonCode" type="xsd:integer"/>
<element name="ReasonString" type="xsd:string"/>
<element name="ServiceInfoList" type="tns:ArrayOfServiceInformation"/>
where ReturnCode will be a string format of return code:
<simpleType name="ReturnCode">
<restriction base="xsd:string"/>
ArrayOfServiceInformation is an array of ServiceInformation that defines service name, service status, reason code, reason string, service start time, and service up time.
<complexType name="ArrayOfServiceInformation">
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:ServiceInformation[
]"/>
<complexType name="ServiceInformation">
<element name="ServiceName" type="xsd:string"/>
<element name="ServiceStatus" type="tns:ServiceStatus"/>
<element name="ReasonCode" type="xsd:integer"/>
<element name="ReasonCodeString" type="xsd:string"/>
<element name="StartTime" type="xsd:string"/>
<element name="UpTime" type="xsd:integer"/>
ServiceStatus defines the enumerated status for the service, as follows:
<simpleType name="ServiceStatus">
<restriction base="xsd:string">
<enumeration value="Started"/>
<enumeration value="Stopped"/>
<enumeration value="Starting"/>
<enumeration value="Stopping"/>
<enumeration value="Unknown"/>
The following details apply about ServiceStatus, ReasonCode, and ReasonCodeString.
•
ServiceStatus is either Started or Stopped. If Started, StartTime gives the time that the service is started in a time string format; UpTime gives the time in seconds since the service was started.
•
The ReasonCode and ReasonCodeString explain the reason that the service is Stopped:
–
If a deployable service is activated and stopped by admin, its status is Stopped, the ReasonCode equals -1019, and the corresponding ReasonCodeString specifies "Component is not running".
–
If a deployable service is deactivated, its status is Stopped, the ReasonCode equals -1068, and the corresponding ReasonCodeString specifies "Service Not Activated".
–
If a nondeployable item is stopped by admin, its status could be Stopped with ReasonCode -1019, and the corresponding ReasonCodeString "Component is not running."
The complete listing of ReasonCode and ReasonCodeString follows:
-1000: "Component already initialized"
-1002: "Component not initialized"
-1003: "Component is running"
-1005: "Unable to process event"
-1006: "Registration already present"
-1007: "Unsuccessful completion"
-1008: "Registration not found"
-1009: "Missing or invalid environment variable"
-1011: "Component is reserved for platform"
-1014: "Entry was already present"
-1015: "Error opening IPC"
-1016: "No license available"
-1017: "Error opening file"
-1018: "Error reading file"
-1019: "Component is not running"
-1021: "Notification ignored"
-1023: "Cannot parse record or entry"
-1026: "Component already exists"
-1027: "Message was truncated"
-1028: "Component is empty"
-1029: "Operation is pending"
-1030: "Transaction does not exist"
-1031: "Operation timed-out"
-1033: "Feature is not implemented yet"
-1034: "Alarm was already set"
-1035: "Alarm was already clear"
-1036: "Dependency is in active state"
-1037: "Dependency is not in active state"
-1038: "Circular dependencies detected"
-1039: "Component already started"
-1040: "Component already stopped"
-1041: "Dependencies still pending"
-1042: "Requested process state transition not allowed"
-1044: "Boundary violation for data structure"
-1045: "Operation not supported"
-1046: "Process recovery in progress"
-1047: "Operation pending on scheduled restart"
-1048: "Operation pending on active dependencies"
-1049: "Operation pending on active dependents"
-1050: "Shutdown is in progress"
-1051: "Invalid Table Handle"
-1052: "Data Base not initialized"
-1057: "Component already in specified state"
-1059: "Cannot create object"
-1060: "MSO refused, standby system not ready."
-1061: "MSO refused, standby state update still in progress. Try again later."
-1062: "MSO refused, standby state update failed.
Verify configuration on standby."
-1063: "MSO refused, Warm start-up in progress."
-1064: "MSO refused, Warm start-up Failed."
-1065: "MSO refused, System is not in active state"
-1066: "MSO refused, Detected standalone Flag"
-1067: "Invalid Token presented in reques"
-1068: "Service Not Activated"
-1069: "Commanded Out of Service"
-1070: "Multiple Modules have error"
-1071: "Encountered exception"
-1072: "Invalid context path was specified"
-1073: "No context exists"
-1074: "No context path was specified"
-1075: "Application already exists"
Fault
Invalid Service: Non-existing Service
If the request for getting the service status is for an invalid service name, such as a nonexistent service name, the ReasonCode -1010 and the ReasonCodeString "No such service" will appear in the response. The following request and response example applies for getting service status for "Cisco WrongService."
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatus
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<GetServiceStatusList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>Cisco WrongService</item>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatusResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1010</ReasonCode>
<ReasonString xsi:type="xsd:string">No such service</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:GetServiceStatusResponse>
Request Example
The following request example for getting "Cisco Tftp" service status applies:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatus
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<GetServiceStatusList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
Response Example
The following response example for getting "Cisco Tftp" service status applies:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatusResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonString xsi:type="xsd:string" xsi:nil="true"/>
<ServiceInfoList xsi:type="soapenc:Array"
soapenc:arrayType="ns2:ServiceInformation[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">
<StartTime xsi:type="xsd:string">Tue Sep 14 14:29:43 2004</StartTime>
<UpTime xsi:type="xsd:integer">11800</UpTime>
</ServiceInformationResponse>
</ns1:GetServiceStatusResponse>
Request Example
The following request example for getting service status when providing an empty array of service names applies:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatus
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<GetServiceStatusList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[0]"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/>
Response Example
The response for the preceding request gets the current status for all services as follows:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetServiceStatusResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonString xsi:type="xsd:string" xsi:nil="true"/>
<ServiceInfoList xsi:type="soapenc:Array"
soapenc:arrayType="ns2:ServiceInformation[43]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ServiceName xsi:type="xsd:string">A Red Hat DB</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:14 2004</StartTime>
<UpTime xsi:type="xsd:integer">186704</UpTime>
<ServiceName xsi:type="xsd:string">Cisco AMC Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 17:51:26 2004</StartTime>
<UpTime xsi:type="xsd:integer">161372</UpTime>
<ServiceName xsi:type="xsd:string">Cisco AXL Web Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:04 2004</StartTime>
<UpTime xsi:type="xsd:integer">73674</UpTime>
<ServiceName xsi:type="xsd:string">CiscoUnified CM SNMP Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:19 2004</StartTime>
<UpTime xsi:type="xsd:integer">186699</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CDP</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:19 2004</StartTime>
<UpTime xsi:type="xsd:integer">186699</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CDP Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:19 2004</StartTime>
<UpTime xsi:type="xsd:integer">186699</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CDR Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:50:38 2004</StartTime>
<UpTime xsi:type="xsd:integer">186620</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CTIManager</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CTL Provider</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications
Manager</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 12:43:07 2004</StartTime>
<UpTime xsi:type="xsd:integer">179871</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager
Admin</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:01 2004</StartTime>
<UpTime xsi:type="xsd:integer">73677</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager Attendant
Console
Server</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager Personal
Directory
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:02 2004</StartTime>
<UpTime xsi:type="xsd:integer">73676</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager
Serviceability<
/ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:13 2004</StartTime>
<UpTime xsi:type="xsd:integer">73665</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Unified Communications Manager
Serviceability RTMT
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:03 2004</StartTime>
<UpTime xsi:type="xsd:integer">73675</UpTime>
<ServiceName xsi:type="xsd:string">Cisco DRF Local</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1019</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Component is not running</ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Database Layer Monitor</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco DirSync</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Electronic Notification</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Extended Functions</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Extension Mobility</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:57 2004</StartTime>
<UpTime xsi:type="xsd:integer">73681</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Extension Mobility Application
</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:39 2004</StartTime>
<UpTime xsi:type="xsd:integer">73699</UpTime>
<ServiceName xsi:type="xsd:string">Cisco IP Voice Media Streaming App</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 12:30:51 2004</StartTime>
<UpTime xsi:type="xsd:integer">180607</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Log Partition Monitoring Tool</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">186698</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Messaging Interface</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1019</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Component is not running</ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco RIS Data Collector</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 16:25:25 2004</StartTime>
<UpTime xsi:type="xsd:integer">166533</UpTime>
<ServiceName xsi:type="xsd:string">Cisco RTMT Reporter Servlet</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:56 2004</StartTime>
<UpTime xsi:type="xsd:integer">73682</UpTime>
<ServiceName xsi:type="xsd:string">Cisco SOAP -Log Collection APIs</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:56 2004</StartTime>
<UpTime xsi:type="xsd:integer">73682</UpTime>
<ServiceName xsi:type="xsd:string">Cisco SOAP - Performance Monitoring APIs
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:58 2004</StartTime>
<UpTime xsi:type="xsd:integer">73680</UpTime>
<ServiceName xsi:type="xsd:string">Cisco SOAP -Real-Time Service APIs</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:59 2004</StartTime>
<UpTime xsi:type="xsd:integer">73679</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Serviceability Reporter</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:21 2004</StartTime>
<UpTime xsi:type="xsd:integer">186697</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Syslog Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:21 2004</StartTime>
<UpTime xsi:type="xsd:integer">186697</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 17:51:20 2004</StartTime>
<UpTime xsi:type="xsd:integer">161378</UpTime>
<ServiceName xsi:type="xsd:string">Cisco Tomcat</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:12:35 2004</StartTime>
<UpTime xsi:type="xsd:integer">73703</UpTime>
<ServiceName xsi:type="xsd:string">Cisco WebDialer Web Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Tue Dec 7 18:13:00 2004</StartTime>
<UpTime xsi:type="xsd:integer">73678</UpTime>
<ServiceName xsi:type="xsd:string">Host Resources Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:56 2004</StartTime>
<UpTime xsi:type="xsd:integer">186662</UpTime>
<ServiceName xsi:type="xsd:string">MIB2 Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:58 2004</StartTime>
<UpTime xsi:type="xsd:integer">186660</UpTime>
<ServiceName xsi:type="xsd:string">Native Agent Adaptor</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Mon Dec 6 10:49:59 2004</StartTime>
<UpTime xsi:type="xsd:integer">186659</UpTime>
<ServiceName xsi:type="xsd:string">SNMP Master Agent</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1019</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Component is not running</ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CAR Scheduler</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1068</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Service Not Activated </ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CAR Web Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1068</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Service Not Activated </ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco CDR Repository Manager</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1068</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Service Not Activated </ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
<ServiceName xsi:type="xsd:string">Cisco SOAP - CDRonDemand Service</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Stopped</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1068</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">Service Not Activated </ReasonCodeString>
<StartTime xsi:type="xsd:string" xsi:nil="true"/>
<UpTime xsi:type="xsd:integer">-1</UpTime>
</ServiceInformationResponse>
</ns1:GetServiceStatusResponse>
Do Service Deployment API
This soapDoServiceDeployment API allows clients to deploy or undeploy a list of services. It returns the services response information for the services that are requested to be deployed or undeployed. You can use this API only to deploy or undeploy a deployable service, a service with the Deployable attribute set to True in the response from getting the static service specification. The API does not allow clients to deploy or undeploy an empty list of services.
Request Format
The HTTP header should have following SOAP action and envelop information:
<operation name="soapDoServiceDeployment">
<soap:operation
soapAction="http://schemas.cisco.com/ast/soap/action/#ControlCenterServices#soapDoServ
iceDeployment"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
The soapDoServiceDeployment operation takes one array of service names for which their services are either deployed or undeployed:
<ns1:DoServiceDeployment
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<DeploymentServiceRequest href="#id0"/>
</ns1:DoServiceDeployment>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:DeploymentServiceRequest"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string">172.19.240.61</NodeName>
<DeployType href="#id1"/>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]">
<item>service name</item>
<multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:DeployType"
xmlns:ns3="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Deploy</multiRef>
Response Format
Fault
Invalid Service: Nonexisting Service
If the request to activate or deactivate a service is for an invalid service name, such as a nonexistent service name, the ReasonCode -1010 and the ReasonCodeString "No such service" will appear in the response.
The following request and response example applies for activating the service "Cisco WrongService."
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeployment
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<DeploymentServiceRequest xsi:type="ns2:DeploymentServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string">172.19.240.99</NodeName>
<DeployType xsi:type="ns2:DeployType">Deploy</DeployType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>Cisco WrongService</item>
</DeploymentServiceRequest>
</ns1:DoServiceDeployment>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeploymentResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1010</ReasonCode>
<ReasonString xsi:type="xsd:string">No such service</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoServiceDeploymentResponse>
Invalid Service: Nondeployable Service
If the request to activate or deactivate a service is for a nondeployable service, a service with the Deployable attribute set to False in the response for getting the static service specification, such as service "SNMP Master Agent," the ReasonCode -1045 and the ReasonCodeString "Operation not supported" will appear in the response.
The following request and response example applies for activating the service "SNMP Master Agent."
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeployment
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<DeploymentServiceRequest xsi:type="ns2:DeploymentServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string">172.19.240.99</NodeName>
<DeployType xsi:type="ns2:DeployType">Deploy</DeployType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>SNMP Master Agent</item>
</DeploymentServiceRequest>
</ns1:DoServiceDeployment>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeploymentResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1045</ReasonCode>
<ReasonString xsi:type="xsd:string">Operation not supported</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoServiceDeploymentResponse>
Invalid Service: Empty List of Services
If the request to activate or deactivate a service provides an empty list of services, the ReasonCode -1045 and the ReasonCodeString "Operation not supported" will appear in the response.
The following request and response example applies for activating the service without providing any service name:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeployment
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<DeploymentServiceRequest xsi:type="ns2:DeploymentServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string">172.19.240.99</NodeName>
<DeployType xsi:type="ns2:DeployType">Deploy</DeployType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[0]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/>
</DeploymentServiceRequest>
</ns1:DoServiceDeployment>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeploymentResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1045</ReasonCode>
<ReasonString xsi:type="xsd:string">Operation not supported</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoServiceDeploymentResponse>
Request Example
The request example for deploying "Cisco Tftp" service follows:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeployment
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<DeploymentServiceRequest href="#id0"/>
</ns1:DoServiceDeployment>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:DeploymentServiceRequest"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string">172.19.240.61</NodeName>
<DeployType href="#id1"/>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]">
<multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:DeployType"
xmlns:ns3="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Deploy</multiRef>
Response Example
The response example for deploying "Cisco Tftp" service follows:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoServiceDeploymentResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonString xsi:type="xsd:string" xsi:nil="true"/>
<ServiceInfoList xsi:type="soapenc:Array"
soapenc:arrayType="ns2:ServiceInformation[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string"> </ReasonCodeString>
<StartTime xsi:type="xsd:string">Wed Sep 15 13:59:28 2004</StartTime>
<UpTime xsi:type="xsd:integer">6</UpTime>
</ServiceInformationResponse>
</ns1:DoServiceDeploymentResponse>
Control Services API
This soapDoControlServices API allows clients to start or stop a list of service. It returns the services response information for the services that are requested to get started or stopped. The API does not allow clients to stop the following non-stop services:
•
A Red Hat DB
•
Cisco Tomcat
The API also does not allow clients to provide an empty list of services when trying to start or stop the services.
Request Format
HTTP header should have following SOAP action and envelop information:
<operation name="soapDoControlServices">
<soap:operation
soapAction="http://schemas.cisco.com/ast/soap/action/#ControlCenterServices#soapDoCont
rolServices"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<soap:body use="encoded" namespace="http://schemas.cisco.com/ast/soap/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
The soapDoControlServices operation takes one array of service names for which their services are either started or stopped.
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ControlServiceRequest"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
<ControlType href="#id1"/>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]">
<item>service name</item>
<multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:ControlType"
xmlns:ns3="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Start</multiRef>
Response Format
Fault
Invalid Service: Nonexisting Service
If the request of start/stop service for an invalid service name, such as a nonexisting service name, the ReasonCode -1010 and the ReasonCodeString "No such service" will be the response. The following request and response example applies for starting the service "Cisco WrongService."
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServices
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ControlServiceRequest xsi:type="ns2:ControlServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
<ControlType xsi:type="ns2:ControlType">Start</ControlType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>Cisco WrongService</item>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServicesResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1010</ReasonCode>
<ReasonString xsi:type="xsd:string">No such service</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoControlServicesResponse>
Invalid Service: Nonstop Service
If the request of stop service for a nonstop service, such as service "Cisco Tomcat", the ReasonCode -1045 and the ReasonCodeString "Operation not supported" will be the response. The following request and response example applies for stopping the service "Cisco Tomcat."
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServices
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ControlServiceRequest xsi:type="ns2:ControlServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
<ControlType xsi:type="ns2:ControlType">Stop</ControlType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item>Cisco Tomcat</item>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServicesResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1045</ReasonCode>
<ReasonString xsi:type="xsd:string">Operation not supported</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoControlServicesResponse>
Invalid Service: Empty List of Services
If the request of start or stop service is with an empty list of services, the ReasonCode -1045 and the ReasonCodeString "Operation not supported" will be the response. The following request and response example applies for stopping the service without providing any service name.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServices
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ControlServiceRequest xsi:type="ns2:ControlServiceRequest"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
<ControlType xsi:type="ns2:ControlType">Stop</ControlType>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[0]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServicesResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1045</ReasonCode>
<ReasonString xsi:type="xsd:string">Operation not supported</ReasonString>
<ServiceInfoList xsi:type="ns2:ServiceInformation" xsi:nil="true"/>
</ServiceInformationResponse>
</ns1:DoControlServicesResponse>
Invalid Service: Service with Stopping Status
If the request is to stop a service, and the service status is Stopping, the ReasonCode -1045 and the ReasonCodeString "Operation not supported" will be the response. The request and response example appears very similar to the preceding example.
Request Example
The request example for starting "Cisco Tftp" service is:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServices
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ControlServiceRequest href="#id0"/>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ControlServiceRequest"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<NodeName xsi:type="xsd:string" xsi:nil="true"/>
<ControlType href="#id1"/>
<ServiceList xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[1]">
<multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:ControlType"
xmlns:ns3="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Start</multiRef>
Response Example
The response example for starting "Cisco Tftp" service follows:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:DoControlServicesResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="ns2:ServiceInformationResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ReturnCode xsi:type="ns2:ReturnCode">0</ReturnCode>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonString xsi:type="xsd:string" xsi:nil="true"/>
<ServiceInfoList xsi:type="soapenc:Array"
soapenc:arrayType="ns2:ServiceInformation[1]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceStatus xsi:type="ns2:ServiceStatus">Started</ServiceStatus>
<ReasonCode xsi:type="xsd:integer">-1</ReasonCode>
<ReasonCodeString xsi:type="xsd:string">
<StartTime xsi:type="xsd:string">Tue Sep 14 19:36:08 2004</StartTime>
<UpTime xsi:type="xsd:integer">6</UpTime>
</ServiceInformationResponse>
</ns1:DoControlServicesResponse>
GetProductInformationList API
The GetProductInformationList API provides information on the products that are installed on a given server. This information includes
•
Active Server Version
•
Primary Node name
•
SecondaryNode name (if any)
•
Array Of Installed Products
Each installed product provides the following information:
–
ProductName
–
Product Version
–
Product Description
–
Product ID
–
Short Name for the product
•
Array Of Product Service Specification
Each Product Service Specification provides the following information:
–
Service Name
–
Service Type
–
Deployable value
–
GroupName
–
ProductID
–
Array of DependentServices (if any).
For each server in the cluster, clients are expected to send one request to get all this information. The system requires clients to send this request only once during initialization.
Request Format
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetProductInformationList
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse
xsi:type="xsd:string">getProduct</ServiceInformationResponse>
</ns1:GetProductInformationList>
Response Format
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetProductInformationListResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<GetProductInformationListResponse xsi:type="ns2:GetProductInformationListResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ActiveServerVersion xsi:type="xsd:string">6.0.0.9381-5</ActiveServerVersion>
<PrimaryNode xsi:type="xsd:string">irv3-ccm4</PrimaryNode>
<SecondaryNode xsi:type="xsd:string">
<Products soapenc:arrayType="ns2:InstalledProduct[3]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Cisco Unified Cisco Unified Communications
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Cisco Unified Communications Manager
temporary description</ProductDescription>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
<ShortName xsi:type="xsd:string">CUCM</ShortName>
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Cisco Unity Connection</ProductName>
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Unity Connection temporary
description</ProductDescription>
<ProductID xsi:type="xsd:string">UnityConnection</ProductID>
<ShortName xsi:type="xsd:string">CUC</ShortName>
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Common Services</ProductName>
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Common Services for all
Products</ProductDescription>
<ProductID xsi:type="xsd:string">Common</ProductID>
<ShortName xsi:type="xsd:string">SYS</ShortName>
<Services soapenc:arrayType="ns2:ProductServiceSpecification[58]"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Unified Communications
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
</GetProductInformationListResponse>
</ns1:GetProductInformationListResponse>
Fault
The system issues a standard SOAP fault in case of failure.
Example
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetProductInformationList
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<ServiceInformationResponse xsi:type="xsd:string">test</ServiceInformationResponse>
</ns1:GetProductInformationList>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:GetProductInformationListResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://schemas.cisco.com/ast/soap/">
<GetProductInformationListResponse xsi:type="ns2:GetProductInformationListResponse"
xmlns:ns2="http://cisco.com/ccm/serviceability/soap/ControlCenterServices/">
<ActiveServerVersion xsi:type="xsd:string">6.0.0.9381-5</ActiveServerVersion>
<PrimaryNode xsi:type="xsd:string">irv3-ccm4</PrimaryNode>
<SecondaryNode xsi:type="xsd:string">
<Products soapenc:arrayType="ns2:InstalledProduct[3]" xsi:type="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Cisco Unified Cisco Unified Communications
Manager</ProductName>
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Cisco Unified Communications Manager
temporary description</ProductDescription>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<ShortName xsi:type="xsd:string">CCM</ShortName>
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Cisco Unity Connection</ProductName>
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Unity Connection temporary
description</ProductDescription>
<ProductID xsi:type="xsd:string">UnityConnection</ProductID>
<ShortName xsi:type="xsd:string">CUC</ShortName>
<item xsi:type="ns2:InstalledProduct">
<ProductName xsi:type="xsd:string">Common Services</ProductName>
<ProductVersion xsi:type="xsd:string">6.0.0.9381-5</ProductVersion>
<ProductDescription xsi:type="xsd:string">Common Services for all
Products</ProductDescription>
<ProductID xsi:type="xsd:string">Common</ProductID>
<ShortName xsi:type="xsd:string">SYS</ShortName>
<Services soapenc:arrayType="ns2:ProductServiceSpecification[58]"
xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Cisco Unified Communications
Manager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Tftp</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Messaging Interface</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco IP Voice Media Streaming
App</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco CTIManager</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array">
<item xsi:type="xsd:string">Cisco Cisco Unified Communications
Manager</item>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Cisco Unified Communications Manager
Attendant Console Server</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CTI Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Extension Mobility</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CM Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco IP Manager Assistant</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CTI Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Extended Functions</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Voice Quality Reporter Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Serviceability Reporter</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Performance and Monitoring
Services</GroupName>
<ProductID xsi:type="xsd:string">Common</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco CTL Provider</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco WebDialer Web Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Servlet</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">CTI Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco Certificate Authority Proxy
Function</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</Deployable>
<GroupName xsi:type="xsd:string">Security Services</GroupName>
<ProductID xsi:type="xsd:string">Cisco Unified Communications
Manager</ProductID>
<DependentServices xsi:type="xsd:string" xsi:nil="true"/>
<item xsi:type="ns2:ProductServiceSpecification">
<ServiceName xsi:type="xsd:string">Cisco SOAP - CDRonDemand
Service</ServiceName>
<ServiceType xsi:type="ns2:ServiceTypes">Service</ServiceType>
<Deployable xsi:type="xsd:boolean">true</