What is WSDL?
WSDL — Web Services Description Language — is the XML contract that describes a SOAP web service. A WSDL document declares the operations the service exposes, the input and output messages each operation accepts, the data types those messages carry, the wire-level binding (typically SOAP-over-HTTP), and the network endpoint clients should call. SOAP toolchains in Java (JAX-WS), .NET (WCF), Python (zeep), and PHP (SoapClient) all consume WSDL to generate client stubs.
Does the formatter preserve namespaces?
Yes. Every namespace declaration — xmlns:wsdl, xmlns:soap, xmlns:soap12, xmlns:xsd, xmlns:tns, xmlns:mime, plus any custom prefixes — is preserved exactly as it appears on the source element. The formatter only adjusts whitespace; it never rewrites prefix-to-URI mappings or changes a qualified name. The DOMParser used internally is namespace-aware, so output round-trips cleanly through SOAP toolchains.
Can it format both WSDL 1.1 and 2.0?
Yes. WSDL 1.1 (the dominant version, with portType, binding, and service) and WSDL 2.0 (which renames portType to interface and adds a few simplifications) are both XML documents and both format cleanly. The tool does not validate against either WSDL XSD — it ensures XML well-formedness, indents the structure, and preserves namespaces. For schema-aware validation use Apache CXF wsdlvalidator or your toolchain's built-in check.
Will it inspect operation signatures?
Indirectly — once formatted, the operation list becomes obvious to a human reader. Each <wsdl:operation> sits inside its <wsdl:portType> with input and output messages clearly nested, and each <wsdl:message> declares its parts. For machine-readable extraction, plug the formatted output into a WSDL parser (zeep, wsdl2java, svcutil); the formatter's job is to make the document readable, not to generate stubs.
Is WSDL still in use?
Yes — heavily, in regulated and enterprise contexts. Banking, insurance, healthcare (HL7 over SOAP), telecom OSS/BSS, government tax filing systems, and large ERP integrations (SAP, Oracle EBS) still expose WSDL-described SOAP services. New greenfield APIs almost always pick REST or gRPC, but WSDL contracts written 10–15 years ago remain in production and require formatting and inspection during integration and modernization work.
Is my WSDL uploaded anywhere?
No. The formatter runs entirely as JavaScript in your browser using the native DOMParser. WSDLs often expose internal endpoint URLs, authentication scheme details, and proprietary message types that security policy forbids from leaving the device — so client-side processing matters. Open DevTools → Network and verify zero requests fire when you click Format.
Why is auto-generated WSDL so hard to read?
Frameworks like Apache Axis, JAX-WS, and WCF emit WSDL on a single line for compactness — saves bytes on the wire and irritates humans. Inline schemas under <wsdl:types> compound the unreadability because every <xsd:element>, <xsd:complexType>, and <xsd:sequence> sits jammed against the previous one. Formatting expands the structure into discoverable hierarchy.
Does formatting change the WSDL's meaning?
No. SOAP toolchains parse the XML structure, not whitespace. Indented and one-line versions of the same WSDL produce identical client stubs. The formatter is purely a readability transform — useful for code review, documentation, and onboarding, but not required for the service to work.