Node.js 如何使用NTLM身份验证在节点js中调用SOAP Web服务

Node.js 如何使用NTLM身份验证在节点js中调用SOAP Web服务,node.js,web-services,soap,ntlm,Node.js,Web Services,Soap,Ntlm,我是NodeJS的新手,我需要一些帮助来连接到基于NTLM身份验证的SOAP Web服务 执行此代码时,httpntlm模块中出现错误: C:\soapclient\node\u modules\httpntlm\ntlm.js:106 回调(新错误(“从服务器提交的消息类型2中找不到NTLM”); ^ TypeError:回调不是函数 在Object.parseType2Message (C:\soapclient\node\u modules\httpntlm\ntlm.js:106:3)

我是NodeJS的新手,我需要一些帮助来连接到基于NTLM身份验证的SOAP Web服务

执行此代码时,httpntlm模块中出现错误:

C:\soapclient\node\u modules\httpntlm\ntlm.js:106
回调(新错误(“从服务器提交的消息类型2中找不到NTLM”);
^
TypeError:回调不是函数
在Object.parseType2Message
(C:\soapclient\node\u modules\httpntlm\ntlm.js:106:3)
在sendType3Message
(C:\soapclient\node\u modules\httpntlm\httpntlm.js:66:23)
立即。立即(C:\soapclient\node\u modules\httpntlm\httpntlm.js:93:4)

在processImmediate[as\u immediateCallback](timers.js:383:17)
这是http ntlm模块中的一个错误。
它没有通过
回调
,因此调用时它是
未定义的

以下是GitHub上的相关bug:

下面是解决此问题的方法: