GetDeviceProfile always returns empty LoginUserdID

Version 1
    This document was generated from CDN thread

    Created by: Simon Rood on 28-11-2010 06:38:16 PM
    We are
    working an issue: missing value of attribute loginUserId in return
    DeviceProfile got from CUCM via AXL WS 7.1.  As shown below the
    loginUserIs was set.
     
     
     I try
    to get it by sending a request getDeviceProfileRequest to CUCM.
     
     
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.cisco.com/AXL/API/7.1">
       <soapenv:Header/>
       <soapenv:Body>
          <ns:getDeviceProfile
    sequence="?">
             <profileName>TestDeviceProfile100</profileName>
         
    </ns:getDeviceProfile>
       </soapenv:Body>

    </soapenv:Envelope>
     
     
    But coming
    getDeviceProfileResponse has only empty tag <loginUserId/>
     
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
         
    <axl:getDeviceProfileResponse sequence="?" xmlns:axl="http://www.cisco.com/AXL/API/7.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            
    <return>
               
    <profile ctiid="109"
    uuid="{DD970FF0-F1DE-0BF1-C4CF-44D8C6173AC2}">
                  
    <name>TestDeviceProfile100</name>
                  
    <description/>
                  
    <product>Cisco 8961</product>
                  
    <model>Cisco 8961</model>
                  
    <class>Device Profile</class>
                  
    <protocol>SIP</protocol>
                  
    <protocolSide>User</protocolSide>
                  
    <loginUserId/>
               
    </profile>
            
    </return>
         
    </axl:getDeviceProfileResponse>
       </SOAP-ENV:Body>

    </SOAP-ENV:Envelope>
     
     
    Could you
    help to solve the issue?
    Thanks and
    best regards
     
    Simon
     

    Subject: RE: GetDeviceProfile always returns empty LoginUserdID
    Replied by: Simon Rood on 04-01-2011 07:02:24 AM
    Why is it that nobody submits on this issue? I feel nyself alone on this planet.

    Subject: RE: GetDeviceProfile always returns empty LoginUserdID
    Replied by: David Staudt on 12-01-2011 05:15:09 PM
    I was able to reproduce this on 7.1(3), and it looks like there is a known issue - CSCsq16168 - which should be resolved.
     
    You can try upgrading to the latest version available in your release train.
     
    As a workaround, you could retrieve the value via executeSQLQuery, the 'enduser' table and 'fkenduser' fields are what you're looking for:
     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/7.1">
       <soapenv:Header/>
       <soapenv:Body>
          <ns:executeSQLQuery sequence="1">
             <sql>select fkenduser from device where name='IPCTestProfile'</sql>
          </ns:executeSQLQuery>
       </soapenv:Body>
    </soapenv:Envelope>
    ----------------------------

    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
          <axl:executeSQLQueryResponse sequence="1" xmlns:axl="http://www.cisco.com/AXL/API/7.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <return>
                <row>
                   <fkenduser>f0800f64-6dc5-37f9-dcad-096b68b1e894</fkenduser>
                </row>
             </return>
          </axl:executeSQLQueryResponse>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>