我正在使用node-soap
lib 来创建一个肥皂客户端。在资产净值方面,凭证类型为Windows
。当我试图从 访问NAV Soap Web Service
时NodeJS
,它给了我Error:401
(拒绝访问)。这是我在我的应用程序中使用的代码。
var soap = require("soap");
var url = "http://<url>"; // This is accessible from browser.
soap.createClient(url, function (err, client) {
if (err) { console.log(err); }
else {
console.log(client.describe());
}
});