cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1568
Views
15
Helpful
6
Replies
Highlighted

AXL api for CUCM 11.5

if i call axl any api for call manager 11.5, i get response as " The AXL Web Service is working and accepting requests. Use HTTP POST to send a request. "  example when running getPhone api. instead of requested phone data.

Request :

    <soapenv:Header/>
    <soapenv:Body>
        <ns:getPhone>
            <name>SEPDD2338878585</name>
        </ns:getPhone>
    </soapenv:Body>
</soapenv:Envelope>"

 

Response:

 

<html>
<head>
<title>Cisco CallManager: AXL Web Service</title>
</head>
<body>
<h1>Cisco CallManager: AXL Web Service</h1>
<p>The AXL Web Service is working and accepting requests.
Use HTTP POST to send a request.</p>
</body>
</html>

 

Please suggest me why i am getting this responce instead of phone details.

 

images 1.png

 

2.png

 

3.png

 

 

6 REPLIES 6
Highlighted

Re: AXL api for CUCM 11.5

Hi, the first thing you need to do is a GET request to your CUCM and get Authorization Key.

GetCUCM.jpg

 

Then you can modify you Get Request to POST Request with 2 Headers: Authorization Key (you get it from previous GET query) and SOAPAction with "CUCM:DB ver=11.5 getPhone" value


PostCUCM_0.jpg

 

The Body will be
<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:getPhone>

                  <name>CSF94953388</name>
             </ns:getPhone>
        </soapenv:Body>
     </soapenv:Envelope>

 

 

PostCUCM.jpg

 

Hope this help you!

Highlighted
Beginner

Re: AXL api for CUCM 11.5

i tried the steps but did not get the desired output.
Highlighted
Beginner

Re: AXL api for CUCM 11.5

same with me as well. I have the auth token in my header , along with SOAPAction and content-type as well. Just getting generic output on CUCM v 11.5 ,

<html>
<head>
<title>Cisco CallManager: AXL Web Service</title>
</head>
<body>
<h1>Cisco CallManager: AXL Web Service</h1>
<p>The AXL Web Service is working and accepting requests.
Use HTTP POST to send a request.</p>
</body>
</html>
Highlighted
Cisco Employee

Re: AXL api for CUCM 11.5

Can you try using the AXL URI with trailing slash?  E.g.:

https://host.com:8443/axl/
Highlighted
Beginner

Re: AXL api for CUCM 11.5

I feel stupid now - but that was it.
Highlighted

Re: AXL api for CUCM 11.5

This was my error, 

Thanks!

This widget could not be displayed.