function GetRMSBillDetails() { // var oDataEndpointUrl = "/WebService.asmx"; var oDataEndpointUrl = "http://x.y.com:8082/abc.asmx"; //var oDataEndpointUrl = "http://x.y.com/abc/GetBillsFromRMSService"; var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); if (xmlHttpRequest != null) { var xml = ""; xml += ""; xml += "<soap:body xmlns:soap="#unknown">" xml += "" xml += "</soap:body>" xml += ""; xmlHttpRequest.Open("POST", oDataEndpointUrl, true); xmlHttpRequest.setRequestHeader("SOAPAction", "https://x.y.com/xyz/GetBillsFromRMSService"); xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8"); xmlHttpRequest.setRequestHeader("Content-Length", xml.length); xmlHttpRequest.send(xml); alert("XML " + xmlHttpRequest.responseXml); } } return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)