Answer the question
In order to leave comments, you need to log in
Why is SOAP request returning 401?
There is a service that takes 1 parameter and returns the result. I need to send a request from a node and get a response.
The code:
var soap = require('soap');
var url = 'http://Login:[email protected]/ws/info_card.1cws?wsdl';
var args = '200000012021';
soap.createClient(url, function(err, client) {
client.ИнформацияПоКарте.ИнформацияПоКартеSoap12.ШКвИнфо(args, function(err, result) {
console.log(err)
console.log(result);
});
});
[Error: Cannot parse response]
401
Answer the question
In order to leave comments, you need to log in
is it not because you expect fields like "MapInfo" or "Soap12MapInfo" in the response?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question