cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Updates to Sandbox Reservation Internet Access Policy

Due to changes in our networking policies, we are updating the internet access policy within our sandbox reservation instances.
Hosts will no longer have internet access outbound.
This should not affect the overall functionality or access to the resources within the sandbox instances, connecting via VPN.

Keep Innovating!

DevNet Sandbox Team

948
Views
10
Helpful
3
Replies
Highlighted
Beginner

Soap AXL Directory numbers

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. 

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Soap AXL Directory numbers

<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
Highlighted
Cisco Employee

Re: Soap AXL Directory numbers

<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

Highlighted
Beginner

Re: Soap AXL Directory numbers

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

Re: Soap AXL Directory numbers

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>

Content for Community-Ad
Cisco Community May 2020 Spotlight Award Winners
This widget could not be displayed.