<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get the directory and the contacts stored in CUCM using AXL API..? in Management</title>
    <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182668#M3522</link>
    <description>&lt;P&gt;Hey Hazem,&lt;/P&gt;
&lt;P&gt;Are you trying to retrieve the users? Could you explain what you were trying and where you are hitting issue?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anusha B R&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 11:03:54 GMT</pubDate>
    <dc:creator>Anusha B R</dc:creator>
    <dc:date>2020-11-12T11:03:54Z</dc:date>
    <item>
      <title>How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4057529#M3363</link>
      <description>&lt;P&gt;Is there a way to get the directory using the AXL API..?&lt;/P&gt;&lt;P&gt;I have done the below steps:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In CUCM, go to Application-&amp;gt;Plugins, then click Find and download the Cisco AXL Toolkit. Unzip it, and import the WSDL file into SoapUI&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="noopener"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Fault&amp;gt;&lt;BR /&gt;&amp;lt;faultcode&amp;gt;soapenv:Server&amp;lt;/faultcode&amp;gt;&lt;BR /&gt;&amp;lt;faultstring&amp;gt;java.lang.NoClassDefFoundError: Could not initialize class com.cisco.&lt;A href="http://www.axl.api._8_0.ExecuteSQLQueryDocument&amp;lt;/faultstring" target="_blank" rel="noopener"&gt;www.axl.api._8_0.ExecuteSQLQueryDocument&amp;lt;/faultstring&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;detail/&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Fault&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I overcome this error..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any specific method in AXL API which can help me in getting the CUCM directory..?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 10:42:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4057529#M3363</guid>
      <dc:creator>YouTee</dc:creator>
      <dc:date>2020-04-02T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4058301#M3364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Are you talking about LDAP directory, if so, you can use getLdapDirectory AXL API, below is the schema reference for the same,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pubhub.devnetcloud.com/media/axl-schema-reference/docs/Files/AXLSoap_GetLdapDirectoryReq.html#Link449" target="_blank"&gt;https://pubhub.devnetcloud.com/media/axl-schema-reference/docs/Files/AXLSoap_GetLdapDirectoryReq.html#Link449&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 12:09:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4058301#M3364</guid>
      <dc:creator>Anusha B R</dc:creator>
      <dc:date>2020-04-03T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4058791#M3365</link>
      <description>&lt;P&gt;Can you provide some more details on what you mean by getting the directory?&amp;nbsp; If you want to search the CUCM users, for example by name or to get a complete listing, see the AXL &amp;lt;listUser&amp;gt; request: &lt;A href="https://developer.cisco.com/docs/axl-schema-reference/" target="_blank"&gt;https://developer.cisco.com/docs/axl-schema-reference/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 22:44:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4058791#M3365</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-04-03T22:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4081048#M3392</link>
      <description>&lt;P&gt;What was the request you sent to CUCM?&lt;BR /&gt;Your Faulty Response does not give any hint to what you were trying to do&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 07:44:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4081048#M3392</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2020-05-07T07:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108047#M3423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. It turned out to be an issue with my CUCM configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:38:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108047#M3423</guid>
      <dc:creator>YouTee</dc:creator>
      <dc:date>2020-06-23T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108050#M3424</link>
      <description>&lt;P&gt;Hi Anusha,&lt;/P&gt;&lt;P&gt;Thanks for your reply. It turned out to be an issue with my CUCM configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:40:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108050#M3424</guid>
      <dc:creator>YouTee</dc:creator>
      <dc:date>2020-06-23T14:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108052#M3425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply. It turned out to be an issue with my CUCM configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:41:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4108052#M3425</guid>
      <dc:creator>YouTee</dc:creator>
      <dc:date>2020-06-23T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182511#M3521</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the same issue,&lt;/P&gt;&lt;P&gt;could you tell me what was the issue with your CUCM configuration ?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 05:17:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182511#M3521</guid>
      <dc:creator>Hazem Fouda</dc:creator>
      <dc:date>2020-11-12T05:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182668#M3522</link>
      <description>&lt;P&gt;Hey Hazem,&lt;/P&gt;
&lt;P&gt;Are you trying to retrieve the users? Could you explain what you were trying and where you are hitting issue?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anusha B R&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 11:03:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182668#M3522</guid>
      <dc:creator>Anusha B R</dc:creator>
      <dc:date>2020-11-12T11:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182749#M3523</link>
      <description>&lt;P&gt;Hey Anusha,&lt;/P&gt;&lt;P&gt;I treing to do any axl request with java e.x&amp;nbsp;ExecuteSQLQuery but I got this&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exception:Client received SOAP Fault from server: java.lang.NoClassDefFoundError: Could not initialize class com.cisco.&lt;A href="http://www.axl.api._8_0.ExecuteSQLQueryDocument" target="_blank"&gt;www.axl.api._8_0.ExecuteSQLQueryDocument&lt;/A&gt; Please see the server log to find more detail regarding exact cause of the failure.&lt;/P&gt;&lt;P&gt;and the trace looks like that:&lt;/P&gt;&lt;P&gt;2020-11-12 11:59:20,034 DEBUG [http-bio-1027-exec-8] servletRouters.AXLAlpha - Request processed by AXIS&lt;BR /&gt;2020-11-12 11:59:20,038 DEBUG [http-bio-1027-exec-8] servletRouters.AXLAlpha - &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="https://community.cisco.com/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;soapenv:Fault&amp;gt;&amp;lt;faultcode&amp;gt;soapenv:Server&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;java.lang.NoClassDefFoundError&lt;/A&gt;: Could not initialize class com.cisco.&lt;A href="https://community.cisco.com/" target="_blank"&gt;www.axl.api._8_0.AddRoutePartitionDocument&amp;lt;/faultstring&amp;gt;&amp;lt;detail&lt;/A&gt; /&amp;gt;&amp;lt;/soapenv:Fault&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;BR /&gt;2020-11-12 11:59:20,039 DEBUG [http-bio-1027-exec-8] servletRouters.AXLAlpha - Finished processing request&lt;BR /&gt;2020-11-12 11:59:20,039 INFO [http-bio-1027-exec-8] filters.TimingFilter - Request 1421170167997 received from AXL_User at ip 172.27.8.92 was processed in 32ms&lt;BR /&gt;2020-11-12 11:59:20,072 DEBUG [http-bio-81-exec-24] filters.TimingFilter - Received request 1421170167998 from AXL_User at IP 172.27.8.92&lt;BR /&gt;2020-11-12 11:59:20,072 DEBUG [http-bio-81-exec-24] wrappers.RequestHeaderWrapper - Inside Request Header Wrapper&lt;BR /&gt;2020-11-12 11:59:20,072 DEBUG [http-bio-81-exec-24] filters.AuthenticationFilter - Operation:executeSQLQuery api:executeSQLQuery&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] filters.ThrottlingFilter - Successfully set the value of counter: 4 value: 0&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - Checking request version [12.5]&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - Checking if requested api [executeSQLQuery] the implementedHandlers list&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - [executeSQLQuery] is not in the implementedHandlers list&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - Checking if version is 8.x or 9.x&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - function to check if the version is 8.x or 9.x&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - version is not 8.x or 9.x&lt;BR /&gt;2020-11-12 11:59:20,073 INFO [http-bio-81-exec-24] servletRouters.AXLAlpha - Executing api: executeSQLQuery in axis&lt;BR /&gt;2020-11-12 11:59:20,073 DEBUG [http-bio-81-exec-24] wrappers.RequestNamespaceWrapper - Inside Request Wrapper&lt;BR /&gt;2020-11-12 11:59:20,074 DEBUG [http-bio-81-exec-24] servletRouters.AXLAlpha - AXL REQUEST :&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" ?&amp;gt;&amp;lt;S:Envelope xmlns:S="&lt;A href="https://community.cisco.com/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;S:Body&amp;gt;&amp;lt;ns2:executeSQLQuery&lt;/A&gt; xmlns:ns2="&lt;A href="https://community.cisco.com/" target="_blank"&gt;http://www.cisco.com/AXL/API/12.5"&amp;gt;&amp;lt;sql&amp;gt;select&lt;/A&gt; count(Device.name) from Device inner join DevicePool on Device.fkDevicePool=DevicePool.pkid where DevicePool.name ='test_123__Tenant__DP1'&amp;lt;/sql&amp;gt;&amp;lt;/ns2:executeSQLQuery&amp;gt;&amp;lt;/S:Body&amp;gt;&amp;lt;/S:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do ?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Nov 2020 13:21:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4182749#M3523</guid>
      <dc:creator>Hazem Fouda</dc:creator>
      <dc:date>2020-11-12T13:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4184733#M3525</link>
      <description>&lt;P&gt;Hi Hazem,&lt;/P&gt;
&lt;P&gt;It looks like java error. Did you had a chance to check this link &lt;A href="https://community.cisco.com/t5/management/demo-java-error-for-cucm-10/td-p/3513343" target="_blank"&gt;https://community.cisco.com/t5/management/demo-java-error-for-cucm-10/td-p/3513343&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Probably you would get some clue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Anusha B R&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:35:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4184733#M3525</guid>
      <dc:creator>Anusha B R</dc:creator>
      <dc:date>2020-11-17T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the directory and the contacts stored in CUCM using AXL API..?</title>
      <link>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4185005#M3526</link>
      <description>&lt;P&gt;Might take a look at &amp;lt;listUser&amp;gt;:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5"&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;ns:listUser&amp;gt;
         &amp;lt;searchCriteria&amp;gt;
            &amp;lt;firstName&amp;gt;David&amp;lt;/firstName&amp;gt;
            &amp;lt;lastName&amp;gt;%&amp;lt;/lastName&amp;gt;
            &amp;lt;userid&amp;gt;%staudt%&amp;lt;/userid&amp;gt;
            &amp;lt;department&amp;gt;&amp;lt;/department&amp;gt;
         &amp;lt;/searchCriteria&amp;gt;
         &amp;lt;returnedTags&amp;gt;
            &amp;lt;userid/&amp;gt;
            &amp;lt;telephoneNumber/&amp;gt;
         &amp;lt;/returnedTags&amp;gt;
      &amp;lt;/ns:listUser&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;BR /&gt;------------------------&lt;BR /&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;ns:listUserResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5"&amp;gt;&lt;BR /&gt;&amp;lt;return&amp;gt;&lt;BR /&gt;&amp;lt;user uuid="{C83500BE-3606-A43A-F5E3-BAC93E6C3475}"&amp;gt;&lt;BR /&gt;&amp;lt;userid&amp;gt;dstaudt&amp;lt;/userid&amp;gt;&lt;BR /&gt;&amp;lt;telephoneNumber/&amp;gt;&lt;BR /&gt;&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;lt;user uuid="{F0509AAF-BB47-D4C7-D56C-78CC3B114A72}"&amp;gt;&lt;BR /&gt;&amp;lt;userid&amp;gt;dstaudt2&amp;lt;/userid&amp;gt;&lt;BR /&gt;&amp;lt;telephoneNumber/&amp;gt;&lt;BR /&gt;&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;lt;user uuid="{2A661528-0C7D-D820-A241-58965586B4CA}"&amp;gt;&lt;BR /&gt;&amp;lt;userid&amp;gt;dstaudt4&amp;lt;/userid&amp;gt;&lt;BR /&gt;&amp;lt;telephoneNumber/&amp;gt;&lt;BR /&gt;&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;lt;/return&amp;gt;&lt;BR /&gt;&amp;lt;/ns:listUserResponse&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt;
&lt;P&gt;If you want to get further details, you can use &amp;lt;getUser&amp;gt; to retrieve individual user details.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 00:37:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-the-directory-and-the-contacts-stored-in-cucm-using/m-p/4185005#M3526</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2020-11-18T00:37:09Z</dc:date>
    </item>
  </channel>
</rss>

