cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
331
Views
0
Helpful
6
Replies
Highlighted
Beginner

How to get the directory and the contacts stored in CUCM using AXL API..?

Is there a way to get the directory using the AXL API..?

I have done the below steps:

In CUCM, go to Application->Plugins, then click Find and download the Cisco AXL Toolkit. Unzip it, and import the WSDL file into SoapUI.

I am unable to find any request method which can get me the directory. I tried to work with different versions on AXL (from 9.0 to 11.5) for executing a SQL query using the 'executeSQLQuery' method but it gives me 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.ExecuteSQLQueryDocument</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

 

How can I overcome this error..?

Is there any specific method in AXL API which can help me in getting the CUCM directory..?

Everyone's tags (2)
6 REPLIES 6
Highlighted
Cisco Employee

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

Hi,

Are you talking about LDAP directory, if so, you can use getLdapDirectory AXL API, below is the schema reference for the same,

https://pubhub.devnetcloud.com/media/axl-schema-reference/docs/Files/AXLSoap_GetLdapDirectoryReq.html#Link449

Regards,

Highlighted
Beginner

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

Hi Anusha,

Thanks for your reply. It turned out to be an issue with my CUCM configuration.

Highlighted
Cisco Employee

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

Can you provide some more details on what you mean by getting the directory?  If you want to search the CUCM users, for example by name or to get a complete listing, see the AXL <listUser> request: https://developer.cisco.com/docs/axl-schema-reference/

 

Highlighted
Beginner

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

What was the request you sent to CUCM?
Your Faulty Response does not give any hint to what you were trying to do

Highlighted
Beginner

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

Hi,

 

Thanks for your reply. It turned out to be an issue with my CUCM configuration.

Highlighted
Beginner

Re: How to get the directory and the contacts stored in CUCM using AXL API..?

Hi,

Thanks for your reply. It turned out to be an issue with my CUCM configuration.