Socket
Socket
Sign inDemoInstall

wsdlrdr

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wsdlrdr

a simple wsdl parser, with promises


Version published
Weekly downloads
1.9K
decreased by-19.49%
Maintainers
1
Weekly downloads
 
Created
Source

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) });

Keywords

FAQs

Package last updated on 27 Mar 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc