cannot call doDeviceLogin axl api using deviceId

Version 1
    This document was generated from CDN thread

    Created by: irfan h on 04-03-2010 01:55:07 AM
    I'm trying to call dodeviceLogjn.  It works  fine with
    $api->doDeviceLogin(array('deviceName' => 'SEP000xxxxxxxxxxxxx','profileName' => 'xxxxxxxxxx', 'userId' => 'xxxxxxxxx','loginDuration' => 0));
     
    but does'nt work with deviceId:
        $api->doDeviceLogin(array('deviceId' =>'{0AB392EB-EAFF-5CBF-B254-0B51BBFFA3A8}','profileName' => 'xxxxxxxxxx', 'userId' => 'xxxxxxxxx','loginDuration' => 0));
     
    Any suggesstions? Also I know the deviceId so how can I get the devicename?

    Subject: RE: cannot call doDeviceLogin axl api using deviceId
    Replied by: David Staudt on 04-03-2010 02:16:11 PM
    This seems to work on my UCM7.0(1) setup.  What is the error message
    or problem?  Have you looked at the AXL service logs for errors?
     
    The
    SOAP request should look something like this:
     
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="http://www.cisco.com/AXL/API/7.0">

       <soapenv:Header/>

       <soapenv:Body>

          <ns:doDeviceLogin sequence="1">

            
    <deviceId>{34CB1D65-8938-F8A6-58D4-DC2BF0416542}</deviceId>

             <loginDuration>60</loginDuration>

             <profileName>EM_User-IPC</profileName>

             <userId>testUser</userId>

          </ns:doDeviceLogin>

       </soapenv:Body>

    </soapenv:Envelope>