wssecurity-soap

1.0.1 • Public • Published

Code is borrowed from https://www.npmjs.com/package/soap Soap node module's WSSecurity is broken in node.js v6 and above so you can use this module for implemeting WSSecurity in soap node module. Incase of node.js v5 and below inbuilt WSSecurity implementation is working fine.

How to use it

 var WSSecurity = require('wssecurity-soap');
 var soap = require('soap');
 var url = "https://some/wsdl";
 var user = "";
 var pass = "";
 var options = { };
 soap.createClient(url, options, function(err, client) {
    client.setSecurity(new WSSecurity(user, pass, 'PasswordDigest'))
    // your logic here 
 });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    313
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    313
  • 1.0.0
    0

Package Sidebar

Install

npm i wssecurity-soap

Weekly Downloads

165

Version

1.0.1

License

MIT

Last publish

Collaborators

  • pradeepmishra