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 80" in command prompt ( 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
    Authorization: Basic xxxxxxxxxxxxxxxxxxxx
    Accept: text/*
    Content-type: text/xml
    SOAPAction: "CUCMB ver=6.0"
    Content-length: 427
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=""
    <axl:getPhone xmlns:axl=""

    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!!


    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 8443

    And cleaning up your header like this:

    POST: :8443/axl/
    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.