Skip to main content

Browse WSDL files from a terminal UI or print a friendly terminal summary.

Project description

wsdl-explorer

License: MIT

wsdl-explorer is a terminal tool for inspecting WSDL 1.1 documents. Give it a URL or file path and it opens a Textual browser with services, endpoints, bindings, port types, operations, messages, schema summaries, and imports. It can also print the same information as a friendly Rich terminal summary.

Install

pip install wsdl-explorer

For local development from this repository:

python -m pip install -e ".[dev]"

After installation, the wsdl-explorer command is available on PATH.

Usage

Open the TUI:

wsdl-explorer https://www.dataaccess.com/webservicesserver/NumberConversion.wso?WSDL

Print a terminal summary:

wsdl-explorer --print ./service.wsdl

Hide xs:documentation text in the TUI or print output:

wsdl-explorer --no-docs ./service.wsdl
wsdl-explorer --print --no-docs ./service.wsdl

Read from stdin:

curl -L "https://www.dataaccess.com/webservicesserver/NumberConversion.wso?WSDL" | wsdl-explorer --print -

TUI controls

  • Arrow keys: move through the tree
  • Enter: expand, select tree nodes, or open referenced schemas
  • Backspace: return from an opened schema to the previous WSDL/schema view
  • Mouse wheel or trackpad over the right pane: scroll details
  • Ctrl+D / Ctrl+U: page the right detail pane down or up
  • r: reload the WSDL
  • q: quit
  • F1: show a short help notification

What it shows

  • WSDL document name and target namespace
  • Services, ports, bindings, and SOAP addresses
  • Port types and operations with input/output/fault messages
  • Binding operations with SOAP actions and body use
  • Messages and message parts
  • Inline XML Schema counts
  • XML Schema xs:documentation text when present
  • WSDL import locations

Limitations

wsdl-explorer parses WSDL 1.1 documents directly from XML. It summarizes inline schemas and import references, but it does not recursively download imported WSDL or XSD files and it does not generate SOAP clients.

License

wsdl-explorer is distributed under the MIT License. See LICENSE.

Development

python -m pip install -e ".[dev]"
pytest

The Textual app keeps layout in app.tcss, loads network and filesystem sources in a worker, and covers UI behavior with headless App.run_test() smoke tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wsdl_explorer-0.1.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wsdl_explorer-0.1.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file wsdl_explorer-0.1.1.tar.gz.

File metadata

  • Download URL: wsdl_explorer-0.1.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for wsdl_explorer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ba9e1ad98aab66acabd0aac5e460451249d2a5758e7e635b935ac2f2d9e41f4d
MD5 dfba1951343c5cc00d86e6b25490d367
BLAKE2b-256 a2815c9094e011e3a1edcc0c10f5eeabfeea3f987a895153a63ebd96bbea29f0

See more details on using hashes here.

File details

Details for the file wsdl_explorer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: wsdl_explorer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for wsdl_explorer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e485e58dc85f345a7444ec59a1791f30450538738997f6f92c3f8840ef644a1c
MD5 f0244d49e0d0ba6ff18b9498cf7ebe2b
BLAKE2b-256 63e11a0d89b737d6eca3aaa95726d9e154b1cf6e5afd84966ad6165630d3971d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page