Skip to main content

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

Project description

wsdl-explorer

CI 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

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
  • 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 follows the repo-local guidance in ~/workspace/guidelines/TEXTUAL-GUIDELINE.md: layout is in app.tcss, slow loading runs in a worker, and UI behavior is covered by a headless App.run_test() smoke test.

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.0.tar.gz (15.8 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.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wsdl_explorer-0.1.0.tar.gz
  • Upload date:
  • Size: 15.8 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.0.tar.gz
Algorithm Hash digest
SHA256 f0779eb9d1948686b4e58140c5925d977354ba47c247f52ba02b495bbcfe849d
MD5 2ecb6de96129e44f892073d6323a6fd1
BLAKE2b-256 fb2279c37df279f3a4079a88d1b9b27db0e8bf250de0cd83657f581f9e59994f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wsdl_explorer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eca9aa741a637a3ad913d8c531d5570afababec43a06cb0ac06f377dbe0fff2
MD5 edf3cd3f83c1fbb2095d336439019870
BLAKE2b-256 80f61144ea132bfa9be16d7de8d51641fd01853072b3ae9f164e5409477600d8

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