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.
- Types: the shapes of the data, such as a customer record with an ID, a name and a region. These are written with XML Schema.
- Messages: the input and output of each operation, built from those types.
- Port type: the list of operations the service offers. Think of it as the menu.
- Binding: how messages are carried, for example over HTTP, and in which SOAP style.
- Service and port: the address where the service can be reached.
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
- They are long, and one field name can appear in several sections.
- Namespaces appear everywhere, and a small mismatch breaks a request.
- A WSDL can import other WSDL and schema files, so the full picture is spread across several documents.
- The file tells you what is allowed. It does not tell you which values make sense for your business.
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
- Generate code so an application can call the service.
- Create sample requests for testing.
- Load it into a tool to explore the operations.
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
- How to troubleshoot a SOAP fault
- SoapUI alternative for non developers
- Knotless vs SoapUI vs Postman
- SOAP integrations in banks, SACCOs and telcos
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.
