I try to access the web api using the node-soap module, but every time I run the code, I get the following error: "Unexpected root element of WSDL or including"
var soap = require('soap'); var xml2js = require('xml2js'); var url = 'https://webservice.servcei.com/LoginXML'; var params = { Username:'webservice', Password:'Test123' }; soap.createClient(url,params,function(err,client){ console.log(err); });
Taral patoliya
source share