locked
XML is not populating in IE11 RRS feed

  • Question

  • Hi All,

    We have a test tool(http) which sends xml data to biztalk,

    unfortunately this test tool is not working in IE11, but it works fine in IE8,

    After some investigation i found that ActiveXObject will not work in IE11,

    the following is the function in HTML code, which gets the xml data and submits to biztalk,

    function getSampleXML()
    {
    var host = "http://XXXXX/XXXX/"
    var tmp = form_1.asptocall.value;
    var xmlString = form_1.XMLPO.value;
    var httpOb = new ActiveXObject("Msxml2.XMLHTTP");
    if (tmp == "queryYYY.aspx") {
    	httpOb.Open("GET",host+"queryYYYY.xml",false);
      	httpOb.send();
    	form_1.XMLPO.value = httpOb.responseText;
    }
    return (true);
    }

    this link says ActiveXObject is not supported for IE11 https://msdn.microsoft.com/en-us/library/ie/7sw4ddf8(v=vs.94).aspx

    Please let me know what object to use inorder to make it work in IE11,

    Thanks,

    Sarva.

    Friday, April 3, 2015 6:01 AM

Answers