1.12.1 • Published 3 months ago

@postman/wsdl-to-postman v1.12.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

wsdl-to-postman

Enables Postman support of the WSDL specification browserify index.js --standalone xsd2jsonschemafaker > xsd2jsonschemafaker.js

Options:

Check out complete list of options and their usage at OPTIONS.md

Command Line Interface

The converter can be used as a CLI tool as well. The following command line options are available.

wsdl2postman [options]

Options

  • -v, --version
    Specifies the version of the converter

  • -s <source>, --spec <source>
    Used to specify the WSDL specification (file path) which is to be converted

  • -o <destination>, --output <destination>
    Used to specify the destination file in which the collection is to be written

  • -t, --test
    Used to test the collection with an in-built sample specification

  • -p, --pretty
    Used to pretty print the collection object while writing to a file

  • -O, --options Used to supply options to the converter, for complete options details see here

  • -c, --options-config
    Used to supply options to the converter through config file, for complete options details see here

  • -h, --help
    Specifies all the options along with a few usage examples on the terminal

Usage

Sample usage examples of the converter CLI

  • Takes a specification (spec.wsdl) as an input and writes to a file (collection.json) with pretty printing and using provided options
$ wsdl2postman -s spec.wsdl -o collection.json -p -O folderStrategy=Service
  • Takes a specification (spec.wsdl) as an input and writes to a file (collection.json) with pretty printing and using provided options via config file
$ wsdl2postman -s spec.wsdl -o collection.json -p  -c ./examples/cli-options-config.json
  • Testing the converter
$ wsdl2postman --test

Conversion Schema data example values

WSDL Typedefault valuenote
integer, int, number, decimal, double, float, long, short, unsignedInt, unsignedLong, unsignedShortrandom between 2 and 100if there are defined min and max use them and generates random value between those boundaries
stringthe word "string"if there is a pattern a random string that conforms to that pattern, if there is minimum or maximum a string that conforms to that length e.g. the word "string....." for minimum (11) or "str.." for maximum (5)
datetoday's datein xsd dateTime format according to: https://www.w3.org/TR/xmlschema11-2/#date
  • DateTime XSD format
-?([1-9][0-9]{3,}||0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
1.12.1

3 months ago

1.12.0

3 months ago

1.11.0

4 months ago

1.10.0

10 months ago

1.9.0

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago