CUCM 9.1 AXL and getUser

Version 1

    Subject: AUTO: Christopher Lamer is on RTLO (returning Mon 08/26/2013 11:00AM)
    Replied by: Christopher Lamer on 16-08-2013 03:35:43 PM
    I am out of the office from Fri 08/16/2013 02:00PM until Mon 08/26/2013
    11:00AM.

    I am currently out of the office for RTLO from 08/17/2013 - 08/25/2013,
    Returning the 26th .  If you need immediate assistance please contact the
    Enterprise Service Center at 309.494.4357.



    Note: This is an automated response to your message "New Message from Doug
    Kartio in AXL Developer - Administration XML Questions: CUCM 9.1.1 AXL and
    getUser" sent on 08/16/2013 03:34:20 PM.

    This is the only notification you will receive while this person is away.
    This document was generated from CDN thread

    Created by: Doug Kartio on 16-08-2013 03:30:51 PM
    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

    Subject: RE: CUCM 9.1 AXL and getUser
    Replied by: Doug Kartio on 20-08-2013 02:21:34 PM
    Doug Kartio:
    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

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