Rewriting External Calls automation -> MSXML not instantiated

SteveSteve Posts: 80Member
Has anyone used MSXML.XMLHTTPRequest ?

We have a process that sends information to a 3rd party and it was originally created using automation. Since the automation tools are not working in our recent NAV2017 upgrade the process was rewritten using MSXML.

The process seems to work with exception that is says that XMLHTTP is not instantiated? The code is below along with the variable call.

MSXML.XMLHTTPRequest.'Microsoft.MSXML, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

//Build the Request Header'POST', XmlUrl, FALSE,'','');
XMLHTTP.setRequestHeader('HOST', '');
XMLHTTP.setRequestHeader('Content-type', 'text/xml; charset=utf-8');
XMLHTTP.setRequestHeader('SOAPAction', '');

Any help would be appreciated.


Sign In or Register to comment.