xmlhttp.setRequestHeader Parms for AXL 6.13

Version 1
    This document was generated from CDN thread

    Created by: Keith Lunn on 27-06-2009 03:18:55 PM
    Hello Folks,
    Env: Win2003 Server, WSH 5.7, JScript, CUCM 6.13
    A previous programmer wrote a JScript program to access our old CCM 4.13. I have a question on how SOAP is binded to HTTP for the AXL interface. Two parms are included with building the HTTP heaer using xmlhttp.setRequestHeader object: "Man" and "MessageTYpe" - what are these parms and what do they do.
    Cisco's Developer guide documents to build the HTTP header as such:
    The following example contains an HTTPS header for an AXL SOAP request:
    POST :8443/axl/
    Host: axl.myhost.com:8443
    Accept: text/*
    Authorization: Basic bGFycnk6Y3VybHkgYW5kIG1vZQ==
    Content-type: text/xml
    SOAPAction: "CUCMB ver=6.0"
    Content-length: 613
    In the old 4.13 JScript program we have, the following code was used to build the header:
     var xmldom = new ActiveXObject ("Microsoft.XMLDOM");
     var xmlhttp = new ActiveXObject("Microsoft.xmlhttp");
     var SoapServer = "https://" + strCMHost + "/CCMAPI/AXL/V1/SOAPISAPI.dll";
          //Build XML Header in xmlhttp object
        xmlhttp.open("POST", SoapServer, false);
        xmlhttp.setRequestHeader("Man", "POST " + SoapServer + " HTTP/1.1");
        xmlhttp.setRequestHeader("MessageType", "CALL");
        xmlhttp.setRequestHeader("Content-Type", "text/xml");
        xmlhttp.setRequestHeader("Host", strCMHost + ":80");
        xmlhttp.setRequestHeader("Authorization", "Basic " + strAuth);
        xmlhttp.setRequestHeader("Content-length", "478");
    I cannot find any documentation on these two configs:
     xmlhttp.setRequestHeader("Man", "POST " + SoapServer + " HTTP/1.1");
        xmlhttp.setRequestHeader("MessageType", "CALL");
    These are not documented in the Developer's guide, neither are they documented with the setRequestHeader method, or the SOAP/HTTP binding RFC in http://www.w3.org/TR/2007/REC-soap12-part2-20070427/#soapinhttp.
    I have googled this code and found a few examples of programs in JScript using SOAP interaces and I see that they are also using these 2 structures but no one has commented on their purpose or use.
    Can someone tell me what hese two items are and what they do?

    Subject: RE: xmlhttp.setRequestHeader Parms for AXL 6.13
    Replied by: Keith Lunn on 27-06-2009 04:15:13 PM
    Folks, This is resolved!
    This code:
    xmlhttp.setRequestHeader("Man", "POST " + SoapServer + " HTTP/1.1");
        xmlhttp.setRequestHeader("MessageType", "CALL");
    has NOTHING to do with the AXL SOAP interface. Its required for a Google.com API specification. Apparently the programmer saw it in a JScript SOAP programming example and thought it was part of the SOAP/HTTP specification - it is not.