You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got error when i try to change my SOAP url to static file, previously when i use the url its work properly the url its manage by outsource, i download the result from that URL and try to connect by local file, here the code
i got error when i try to change my SOAP url to static file, previously when i use the url its work properly the url its manage by outsource, i download the result from that URL and try to connect by local file, here the code
soap.createClient(path.join(__dirname, '../wsdl/wsdl.xml'), {}, (err, client) => {
if (err) return reject(err);
client.setSecurity(new soap.BasicAuthSecurity(config().username, config().password));
const method = client.agentActivation;
console.log(method, 'method');
method(args, (err, result, envelope, soapHeader) => {
if (err) {
logger.info('error method');
logger.info(err.message);
return reject(err);
}
logger.info(result);
return resolve(result);
});
});
i got the method from client but when i call the method i got error "Cannot parse response "
The text was updated successfully, but these errors were encountered: