easy-soap-request icon indicating copy to clipboard operation
easy-soap-request copied to clipboard

Soap Call failing without getting any error

Open hvaidsain26 opened this issue 2 years ago • 0 comments

I am making a soap call like this but only thing that gets printed is the log statement in catch block without any err object. am I doing something wrong here. try { const { response } = await soapRequest({ url: url, headers: { "Content-Type": "text/xml;charset=UTF-8", soapAction: actionUrl, }, xml: reqBody, timeout: 10000, }); const { headers, body, statusCode } = response; console.log(headers); console.log(body); console.log(statusCode);

} catch (err) {
	console.log("Error is Soap API call", err);
}

hvaidsain26 avatar Sep 16 '22 09:09 hvaidsain26