[cisco-voip] AXL Call using ASP (java) in 6.x

Samuel Womack womacksamuel at gmail.com
Thu Apr 30 21:24:41 EDT 2009


I have an ASP "page" that was used to do an UpdateLine in UC 4.x.  I'm  
going to upgrade to UC 6.1.3 and was wondering if how this ASP code  
needs to be Modified in order to work (this AXL call is triggered by a  
UCCX IVR Script); Here is the coding in the ASP file of how I think it  
needs to look in order to successfully do this for 6.1...I'm not a  
programmer so any help here would be greatly appreciated...

var CCMip = Request.Form("CCMip").Item;
var Authorization = Request.Form("Authorization").Item;
var strXML = Request.Form("strXML").Item;
var ContentLength = strXML.length;
var strResp=null;
var objXMLReq1 = new ActiveXObject("MSXML2.ServerXMLHTTP");

objXMLReq1.open("POST", "HTTPS://" + CCMip + "8443/axl/", "False");
objXMLReq1.setRequestHeader("Authorization","Basic " + Authorization);
objXMLReq1.setRequestHeader("Content-type","text/xml");
objXMLReq1.setRequestHeader("Content-length", ContentLength);
objXMLReq1.send(strXML);
objXMLReq1.waitForResponse(5);
strResp=objXMLReq1.responseText;
objXMLReq1=null;

Response.Write(strResp);
Response.Write("\r\n");
Response.End;
%>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090430/7a5817b8/attachment.html>


More information about the cisco-voip mailing list