Web service call not working

Prior to the update, the web service call used to work. After the update, the web service call is no longer working. I ran a test page call from Bootstrap and the web service is not invoked. I export the exact page to my local folder and run the it from there and it works.

Bootstrap Version I'm using is 4.0 Button code to call web service is:

function callWS(){ alert("1"); var xmlhttp = new XMLHttpRequest(); var jsonObj;

        xmlhttp.open('POST', '', false); 

        // build SOAP request
        var sr = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:cal=\"http://callJar1WSPkg\">"+

" <soapenv:Header/>"+ " <soapenv:Body>"+ " <cal:callExtJarClass>"+ " <cal:p1>DESKTOP</cal:p1>"+ " <cal:p2>ED1</cal:p2>"+ " <cal:pId>test100</cal:pId>"+ " <cal:p3>myEmail</cal:p3>"+ " <cal:p4>myFnNm</cal:p4>"+ " <cal:p5><![CDATA[<var1>ED1</var1><var2>myEAdd</var2><var3>za</var3>]]></cal:p5>"+ " </cal:callExtJarClass>"+ "</soapenv:Body>"+ "</soapenv:Envelope>";

        xmlhttp.onreadystatechange = function () {
            if (xmlhttp.readyState == 4) {
                if (xmlhttp.status == 200) {

        // Send the POST request
        xmlhttp.setRequestHeader('SOAPAction', 'wololo');

        xmlhttp.setRequestHeader('Content-Type', 'text/xml');


        var vResults  = xmlhttp.responseText;

alert("results="+vResults); return vResults;


Just a correction on the version on my previous post, it's on 4.1.2

When you write JS in Bootstrap Studio, the code isn't executed by the app in any way - it is passed directly to the browser. Maybe the issue is with Chrome. They become more strict with their security in every release. Try looking in the browser's dev tools console.