Tutorial

How to Create a SOAP API (WSDL)

Generate a SOAP mock service starting from your WSDL. Parse operations, configure responses, optionally require an API key, and test the endpoints.

1) Open the SOAP generator and choose the WSDL source

Go to Generate SOAP. Choose how to provide the WSDL:

SOAP generator form with WSDL source options
WSDL source, parse controls, and global options appear in the form.

Click Parse WSDL. If parsing succeeds, you’ll see a summary (Service, Ports, targetNamespace) and the list of operations.

2) Review operations and set response templates

For each operation you can:

Note: The mock accepts POST with text/xml or application/soap+xml.

3) Configure global settings

4) Generate and test the SOAP mock

Accept the terms and click Generate SOAP Mock. The backend validates reCAPTCHA, enforces account limits (Free: up to 5 items; Premium: up to 100), creates the service, and returns the generated endpoints, e.g.:

/soap/<ServiceName>/<OperationName>_<random>

If you enabled WSDL exposure, the WSDL is available at:

/soap/<ServiceName>

Example call with cURL (SOAP 1.1):

curl -X POST "https://mockhub.ovh/soap/ServiceName/Operation_abc123" \
  -H "Content-Type: text/xml" \
  -H "X-API-Key: <YOUR_KEY>" \
  --data-binary @body.xml

Daily call limits apply: Free up to 40/day, Premium up to 15,000/day. Services auto-extend expiry on usage when near expiration.

Next: Mock API Guide Add a Scenario Switch Scenario Generate Body with AI