SoapClientResources and services for SOAP

How to inspect a WSDL before sending a SOAP request

A WSDL 1.1 document describes what a service accepts and where to send a request. Start with the operation you need, then check the binding and endpoint before building the envelope.

1. Find the operation and its input

Look at the portType for the operation name and its input message. Follow that message to its parts, then check any referenced XML Schema elements or types. Imported schemas may contain required fields that do not appear in the main WSDL file.

2. Check the binding and port

Use the service’s port to identify the concrete binding and address. Check whether the binding uses SOAP 1.1 or SOAP 1.2. The SOAP action and expected HTTP headers depend on the binding and the service contract.

3. Build and review the envelope

Open a local WSDL in the SOAP Client or enter its HTTPS address if its host allows browser access. Select an operation, build the XML, and review namespaces and required fields before sending it to an endpoint you are authorized to test.

Browse SOAP and WSDL specifications

Subscribe to the SoapClient newsletter