×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

CUCM 9.1.1 and AXL getUser

Unanswered Question
Aug 15th, 2013
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
dkartio20 Tue, 08/20/2013 - 12:23
User Badges:

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"); 

Actions

This Discussion