Skip to content

csdavide/wsdl-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSDL parse and generate samples

##Why? I was trying to parse a wsdl and generate sample requests for wsdl operations to auto generate documentation. I found many useful java based libraries, but none in Javascript, hence created a wrapper around https://github.com/reficio/soap-ws

This is how you could use it,

var parser = require('./app.js');
var url = 'http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl';

var p = parser(url);
var bindings = p.bindings();
console.log(bindings);

var ops = p.operations('WeatherSoap');
console.log(ops);

var samplereq = p.sampleRequest('WeatherSoap', 'GetWeatherInformation');
console.log(samplereq);

var soapaction = p.soapaction('WeatherSoap', 'GetWeatherInformation');
console.log(soapaction);

About

Created with StackBlitz ⚡️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published