我正在尝试使用node-soap包从Node.js调用SOAP服务。而且我遇到了一个问题,即我没有任何关于服务的描述,或者我可能不完全了解有关服务的部分。
var url = './generate.wsdl';
soap.createClientAsync(url).then((client) => {
console.log('in');
client.describe();
//returns undefined
}).then((result) => {
console.log(result);
});