Guide

What is a WSDL?

A WSDL is the instruction manual for a SOAP service. It is a file, written in XML, that tells software which operations the service offers, what data each one needs and where to send the request.

The short answer

WSDL stands for Web Services Description Language. When a bank, a telecom company or a software vendor offers a SOAP service, the WSDL is how they describe it. Developers, testing tools and products like Knotless read it to learn what the service can do, so nobody has to guess.

What is inside a WSDL

A WSDL has a few standard parts. You do not need to memorise them, but knowing the names makes the file much easier to read.

A small example

Here is a heavily shortened WSDL. It is not complete, but it shows the idea.

<definitions name="CustomerService"
    targetNamespace="http://example.com/customer">
  <portType name="CustomerPort">
    <operation name="GetCustomerProfile">
      <input message="tns:GetCustomerProfileRequest"/>
      <output message="tns:GetCustomerProfileResponse"/>
    </operation>
  </portType>
</definitions>

This says the service has one operation called GetCustomerProfile. It takes a request message and returns a response message. A real WSDL is far longer, because it also describes every field, every data type and every address.

Why WSDLs are hard to read by hand

Which version do I have?

Most services you meet in banks, SACCOs and telecom companies still use WSDL 1.1. A newer version, WSDL 2.0, exists but is much less common. If you are unsure, open the file and look at the first element. WSDL 1.1 files start with a definitions element. WSDL 2.0 files start with a description element.

Where do I get a WSDL?

Ask the team or vendor that owns the service. Many services also publish the file at the service address followed by ?wsdl. Treat WSDL files with care. They show how your systems are built, so share them only with people who need them.

What teams do with a WSDL

How Knotless uses a WSDL

Knotless reads your WSDL and turns it into a searchable catalogue of operations. Pick an operation and you get a form with labelled, validated fields instead of raw XML. Your team can then save presets, run requests and share what they find. You can see the idea in the before and after example on the home page.

Keep reading

See it on your own services

Knotless is a Windows workbench from Hisia Solutions. Trial licences are provisioned for evaluation. Bring one WSDL and we will walk through it with your team.