0.5.5 • Published 5 years ago

wsdlrdr v0.5.5

Weekly downloads
4,275
License
MIT
Repository
github
Last release
5 years ago

wsdlrdr

a simple wsdl parser, with promises

Support

Buy me a Coffee

how to get

install from npm

npm i wsdlrdr

available methods

getNamespaces

returns a collection with all available namespaces

actiondescriptiontype
responseall available namespacesarray

getMethodParamsByName

returns all response/request parameter for a given function name

actiondescriptiontype
paramsmethodNamestring
responsemethodParamsobject

getAllFunctions

get all in wsdl available functions as a array

actiondescriptiontype
responseall available function namesarray

getXmlDataAsJson

returns data from the given XML as JSON

actiondescriptiontype
paramsxmlstring
responseconverted xmljson

how to use

const Wsdlrdr = require('wsdlrdr');
const params  = { 
	host: 'hostname.com', 
	wsdl: '/path/to/wsdl' 
};

const options = { 
	secure: true // https on
	failOnWrongContentType: true // if no xml/wsdl
}; 

// get all functions listet in wsdl
Wsdlrdr.getAllFunctions(params, options)
.then((funcArray) => { console.log(funcArray); })
.catch((err) => { throw new Error(err) });
0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

6 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago