cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2743
Views
10
Helpful
3
Replies

Soap AXL Directory numbers

softwareguy
Level 1
Level 1

I would like get the details from CUCM page about Directory Numbers using AXLtoolkit SOAP API 11.5.

 

I would like to load a list of all Directory numbers on the page. I have tried to use numplan from API 8.5 but with no joy, I have not been able to find anything that will do this in the toolkit for the 11.5 API, can you help?

 

I am trying to load the whole list in SOAPUI so I can then do things from there with the list.
thank you in advance for any help, it is much appreciated. 

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

<listLine> should be a good place to start:

 

 

POST https://ds-ucm115-1.cisco.com:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=11.5 listLine"
Content-Length: 486
Host: ds-ucm115-1.cisco.com:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listLine>
         <searchCriteria>
            <pattern>%</pattern>
         </searchCriteria>
         <returnedTags>
            <pattern/>
            <usage/>
            <routePartitionName/>
            <associatedDevices/>
         </returnedTags>
      </ns:listLine>
   </soapenv:Body>
</soapenv:Envelope>

View solution in original post

3 Replies 3

dstaudt
Cisco Employee
Cisco Employee

<listLine> should be a good place to start:

 

 

POST https://ds-ucm115-1.cisco.com:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=11.5 listLine"
Content-Length: 486
Host: ds-ucm115-1.cisco.com:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listLine>
         <searchCriteria>
            <pattern>%</pattern>
         </searchCriteria>
         <returnedTags>
            <pattern/>
            <usage/>
            <routePartitionName/>
            <associatedDevices/>
         </returnedTags>
      </ns:listLine>
   </soapenv:Body>
</soapenv:Envelope>

thank you, with a little modification for its intended purpose this worked great.

I tried to work with the provided request but I am getting the below error:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>java.lang.NoClassDefFoundError: Could not initialize class com.cisco.www.axl.api._8_0.ListLineDocument</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: