Associate a phone with an application user

Version 1
    This document was generated from CDN thread

    Created by: Wes Schochet on 09-11-2009 10:53:33 PM
    I am having problems adding a phone association to an application user.  Everything looks like it works, but the device is not added to the user.  The user already has a IP Communicator associated to it, i am trying to add another phone.
    I send:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="<a></a>]" xmlns:xsi="<a></a>]" xmlns:xsd="<a></a>]"> 
      <axl:updateAppUser xmlns:axl="<a></a>]" sequence="7537">        
     </axl:updateAppUser > 
    I get back:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="<a></a>]" SOAP-ENV:encodingStyle="<a></a>]">
       <SOAP-ENV:Header />
          <axl:updateAppUserResponse xmlns:axl="<a></a>]" xmlns:xsi="<a></a>]" sequence="7537">
    Ths would make a guy think that he's done well!  However, the new phone ( SEP00233341D33B )does not show associated to the user. 
    Has anyone done this successfully?

    Subject: RE: Associate a phone with an application user
    Replied by: David Staudt on 10-11-2009 05:23:15 PM
    Currently, you need to get the list of existing associated devices, update the list, and re-send the updated list via updateUser.
    This can get unwieldy with more than a few devices, in which case you can look into performing a direct SQL insert via executeSQLUpdate.  See the Data Dictionary doc for table/field will want to look at the 'applicationuserdevicemap' table, I believe.