Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

CUCM 9.1.1 and AXL getUser

Trying to find a AXL call that will return the UC Service Profile for particular users.  The enduser DB has the fkucserviceprofile column, but the getUser AXL call does not return that column or the isLocalUser column.  Is there a AXL call that returns this information for a specific user? Or do I need to create a custom query?

Thanks

1 REPLY
Community Member

CUCM 9.1.1 and AXL getUser

Ok solved this.  The API version needs to be added in multiple areas.  Below is the Java code that creates the call

        // Setting SOAPAction header line

        MimeHeaders headers = soapMessage.getMimeHeaders();

        headers.addHeader("SOAPAction", "CUCM: DB ver=9.0 getUser" );

        SOAPEnvelope envelope = soapMessage.getSOAPPart().getEnvelope();

        envelope.addAttribute(envelope.createName("xmlns:xsd"), "http://www.w3.org/2001/XMLSchema");

        envelope.addAttribute(envelope.createName("xmlns:xsi"), "http://www.w3.org/2001/XMLSchema-instance");

        SOAPBody bdy = envelope.getBody();

        SOAPBodyElement bodyElement = bdy.addBodyElement(envelope.createName(cmdName));

        bodyElement.addAttribute(envelope.createName("xmlns:axl"), "http://www.cisco.com/AXL/API/9.0");

        bodyElement.addAttribute(envelope.createName("sequence"), "1"); 

791
Views
0
Helpful
1
Replies
CreatePlease to create content