SOAP Calls using JavaScript No Longer Work after Polaris Update

Following the Polaris update on almost all CRM Online instances that I have worked
on, I notice that FetchXML calls via JavaScript and SOAP have stopped working.
I used one of the many similar 3rd party JavaScript libraries and sample codes found
on the Internet – “FetchUtil” that looks like below:
FetchUtil.prototype._FetchCallback = function (xmlhttp, callback) {
 if (xmlhttp.readyState != XMLHTTPREADY) {
 return;
 }
 if (this._HandleErrors(xmlhttp)) {
 return;
 }
 var sFetchResult = newxmlhttp.selectSingleNode('//a:Entities').xml; // Code fails here: unsupported method
 var resultDoc = new ActiveXObject('Microsoft.XMLDOM');
 resultDoc.async = false;
 resultDoc.loadXML(sFetchResult);
 ...
}

Continue reading “SOAP Calls using JavaScript No Longer Work after Polaris Update”