getPhone - error 201

Version 1

    Subject: RE: getPhone - error 201
    Replied by: Anitha V on 13-05-2009 11:35:40 AM
    Hi Marwan,
     
    Looks like a db error.
     
    Could you please send the AXL request and the response which you are using and also the corresponding AXL logs?
     
    Thanks and Regards,
    Anitha
    This document was generated from CDN thread

    Created by: Marwa Ads on 13-05-2009 11:05:46 AM
    Dear All,

    I am using CUCM 6 and trying the AXL command <getPhone>, it works fine while the phone is logged out, but when trying it while the phone is logged in I get error 201.

    Can any one help me in this issue?

    Thanks alot,
    Marwa Ads

    Subject: RE: getPhone - error 201
    Replied by: Marwa Ads on 17-05-2009 07:42:32 AM
    Dear Anitha,
     
     
    This is the Request :
    sAXLRequest = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" ";
            sAXLRequest += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"> ";
            sAXLRequest += "<SOAP-ENV:Body>  ";
                  

    sAXLRequest += " <axl:getPhone xmlns:axl=\"http://www.cisco.com/AXL/1.0\" ";
    sAXLRequest += " xsi:schemaLocation=\"http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd\" ";
    sAXLRequest += "sequence=\"1234\"> "+SEP+"";
    sAXLRequest += "</axl:getPhone> </SOAP-ENV:Body> </SOAP-ENV:Envelope>";

    And this is the Resonse:
     
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>A syntax error has occurred.</faultstring><detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/API/6.0"><axl:code>-201</axl:code><axl:message>A syntax error has occurred.</axl:message><request>getPhone</request></axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>


    But i couldn't get the Axl logs, could you tell me please how to get them.
     
    Thanks alot for your help,
    Regards,
    Marwa Ads