soap-converter

Transform SOAP/WSDL descriptions to formats of your choice

Usage no npm install needed!

<script type="module">
  import soapConverter from 'https://cdn.skypack.dev/soap-converter';
</script>

README

SOAP Converter

Transform SOAP/WSDL descriptions to formats of your choice

npm download license

Supported Formats

  • Postman v2.0
  • OpenAPI/Swagger v2.0 (JSON)
  • OpenAPI/Swagger v2.0 (YAML)

Install

yarn global add soap-converter
# npm i -g soap-converter

Usage

  • Install soap-converter as global
  • Run soap-converter
  • Enter your answers like image below and import output file to Postman

png

Command Line Options

Usage: soap-converter [options]

Options:
  -i, --input <url>                               wsdl url (e.g. http://example.com/service.svc?wsdl)
  -t, --target <Postman|SwaggerJSON|SwaggerYAML>  target type
  -o, --output <file>                             output file (e.g. ~/output.json)
  -k, --api-key-header <name>                     specify an apiKey header name (e.g. 'X-API-Key')
  --use-security                                  enable generating wssecurity
  --use-ibm-datapower-gateway                     enable IBM DataPower Gateway headers (default: false)
  --no-examples                                   disable generating examples
  --no-inline-attributes                          disable inline attributes
  -h, --help                                      output usage information

Example: soap-converter --input http://example.com/service.svc\?wsdl --target SwaggerJSON --output ~/service.swagger.json --api-key-header X-API-Key

License

MIT - Anh Thang Bui