cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
926
Views
0
Helpful
3
Replies

Call Manager 10.0.1.x - AXL - listPhoneByName

rmadabha
Cisco Employee
Cisco Employee

Hi Team,

I'm getting below exception for AXL - listPhoneByName.  Could you please provide me the new AXL API request format of Call Manager 10.x version

********************Data********************

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><axlapi:listPhoneByName xmlns:axl="http://www.cisco.com/AXL/1.0" xmlns:axlapi="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 axlsoap.xsd"><searchString>%</searchString></axlapi:listPhoneByName></SOAP-ENV:Body></SOAP-ENV:Envelope>

*********************Data End********************

HTTP Response:

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault xmlns:axis2ns2="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>axis2ns2:Client</faultcode><faultstring>The endpoint reference (EPR) for the Operation not found is https://10.1.1.1/axl/services/AXLAPIService and the WSA Action = CUCM:DB ver=8.0 listPhoneByName</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Regards,
Rajesh

3 Replies 3

chao guo
Level 1
Level 1

Hi Rajesh,

I think your error is here,===> http://www.cisco.com/AXL/API/1.0

when you using the axl interface to request info for cucm 10. I think you can using the following info to request:

<axl:getUser xmlns:axl=\"http://www.cisco.com/AXL/API/10.0\"

  xsi:schemaLocation=\"http://www.cisco.com/AXL/API/10.0 http:// ccmserver/schema/axlsoap.xsd\"

  sequence=\"123ee45\">

<userid>test</userid>

</axl:getUser>

Perhaps may help you

Hi Chao,

Thank you very much for the response. Could you please point me the 10.x version AXL api's request and response format link details.

Regards,
Rajesh

Hi Rajesh,

This link is the cisco axl interface guide. https://developer.cisco.com/media/manager-xml-developer-guide/index.html?versioning.html

In this guide, cisco provide the detail of axl api's request and response info.