cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
432
Views
1
Helpful
1
Replies

GetLdapSyncStatusRes

Michal Rzepecki
Level 1
Level 1

Hi,

I'm new in AXL, xml, etc. so please forgive me

I can do LDAP synchronization using cURL.

curl -k -u user:pass -H "Content-type: text/xml" -d @request.xml  https://172.17.63.21:8443/axl/

request:

<?xml version="1.0" encoding="UTF-8"?>

<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:doLdapSync>

        <name>MRlab</name>

        <sync>true</sync>

        </ns:doLdapSync>

    </soapenv:Body>

</soapenv:Envelope>

This is simple but now want to check synchonization status. I tried this

<?xml version="1.0" encoding="UTF-8"?>

<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:GetLdapSyncStatusRes>

        <return></return>

        </ns:GetLdapSyncStatusRes>

    </soapenv:Body>

</soapenv:Envelope>

but I'm getting error

<faultcode>axis2ns20:Client</faultcode><faultstring>The endpoint reference (EPR) for the Operation not found is https://172.17.63.21:8443/axl/services/AXLAPIService and the WSA Action = CUCM:DB ver=11.5 GetLdapSyncStatusRes</faultstring><detail /></soapenv:Fault>

actually I don't know how to properly use GetLdapSyncStatusRes. Can someone help me?

1 Reply 1

You should send Name or uuid property in getLdapSyncStatus(LDAP configuration name)

AXLSoap - getLdapSyncStatus

GetLdapSyncStatusRes - is result of getLdapSyncStatus function

From php I get this info like this

$response = $client->getLdapSyncStatus(array("name" => "MyLDAPname"));

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: