Is this the right process to use AXL

Version 1
    This document was generated from CDN thread

    Created by: Meng Yao on 16-12-2008 06:53:30 PM
    Hi everyone,

    I am totally new to AXL. I try to get some information using AXL. The following is what i have done. Could you tell me if my process is right? If it is wrong, please give me some information about your process.

    1. type "telnet 10.10.5.6 80" in command prompt (10.10.5.6 is the ip address of my call manager server)

    2. After that I get a blank command prompt with the title "Telnet 10.10..5.6"

    3. Then I post the following AXL command into the blank prompt, terminating with two new lines.

    POST: 8443/axl/ HTTP/1.1
    Host: 10.10.5.6:8443
    Authorization: Basic xxxxxxxxxxxxxxxxxxxx
    Accept: text/*
    Content-type: text/xml
    SOAPAction: "CUCMB ver=6.0"
    Content-length: 427
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <axl:getPhone xmlns:axl="http://www.cisco.com/AXL/1.0"
    xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://10.10.5.6/schema/axlsoap.xsd"
    sequence="1234">
    <phoneName>SEP001C58CD398D</phoneName>
    </axl:getPhone>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Actually I got an error information(error 400 invalid URI), but I just want to make sure if my process to use AXL is right. Please tell me your ideas. Thanks!!

    Roger

    Is my process is the som

    Subject: Re: Is this the right process to use AXL
    Replied by: David Staudt on 17-12-2008 12:15:56 AM
    AXL is intended to be used by making an HTTP POST (via SSL connection) of the XML object. There are any number of ways to accomplish this interactively (see CURL example or using something like soapUI) and even more ways to do this programmatically.

    For programs, the two most common mechanisms seem to be .NET wsdl.exe generation of native language stubs, and the same concept for Java via Apache AXIS.

    I tried for awhile to do a request via Telnet (had never thought to do so, and was intrigued.) Using telnet-ssl like this:

    telnet -z ssl -z verify=0 10.88.131.131 8443

    And cleaning up your header like this:

    POST: :8443/axl/
    Host: 10.88.131.131:8443
    Authorization: Basic QWRtaW5pc3RyYXRvcjptZXRyZW9zMQ==
    Accept: text/*
    Content-type: text/xml
    SOAPAction: "CUCMB ver=6.0"
    Content-length: 446

    I was able to avoid the invalid URI error (I think HTTP/1.1 is not needed) but after pasting in the POST request, got no response. Perhaps you can take it to the next step.