DSS SOAP connector module for the WGU Service layer
npm install wgu-dss
var restify = require('restify');
var wguDss = require('wgu-dss');
module.exports = function( server )
{
server.get('/some/path', function(req, res, next)
{
wguDss.load('./wsdl/test.wsdl', function(err, client){
//use the client
return next();
});
});
}
WSSecurity username. If this variable is set the clients will connect using WSSecurity.
WSSecurity password.
an object containing previously loaded/cached clients keyed by their filename sans .wsdl
an object containing previously loaded/cached clients from a specific directory.
file is the path to the wsdl. The callback has 2 parameters (err, client), if wsdl is loaded err will be null.
dir is the path to the directory containing the wsdls. Callback has 2 parameters (err, clients)