Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
easySoap
is a WSDL SoapClient for Node.js.
npm install easysoap
var easySoap = require('easysoap');
//soap client params
var clientParams = {
//set soap connection data (mandatory values)
host : 'www.sample.com',
path : '/dir/soap',
wsdl : '/dir/wsdl',
//set soap header (optional)
header : [{
'name' : 'item_name',
'value' : 'item_value',
'namespace' : 'item_namespace'
}]
};
//soap client options
var clientOptions = {
secure : true/false //is https or http
};
//create new soap client
var SoapClient = new easySoap.Client(clientParams, clientOptions);
SoapClient.call({
'method' : 'soapMethod2',
//optional namespace for call
'namespace' : 'soapMethod2Namespace',
//optional headers for call
'headers' : {
'Cookie' : 'test'
},
'params' : {
//default
'test' : 2,
//list of items
'test1' : ['item1', 'item2']
//if attributes needed
'test2' : {
'_attributes' : {
'id' : 1
},
'_value' : 'test1data'
}
}
})
.done(
//success
function(res) {
res.data // response data as array
res.response // full response data (including xml)
res.header // response header
},
//method fail
function(err) {
console.log(err);
}
);
FAQs
a easy to use Soap Client for Node.js
The npm package easysoap receives a total of 903 weekly downloads. As such, easysoap popularity was classified as not popular.
We found that easysoap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.