Administration XML Developer Forums

« Back to Administration XML Questions

GetDeviceProfile always returns empty LoginUserdID

Combination View Flat View Tree View
Threads [ Previous | Next ]
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
 
Attachments:

Why is it that nobody submits on this issue? I feel nyself alone on this planet.

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>