SOAP Web Service API

Practise SOAP testing in SoapUI, Postman or code: a calculator and a country lookup with WSDLs, SOAP 1.1 (text/xml) and 1.2 (application/soap+xml) envelopes, and real SOAP Faults for divide by zero, unknown operations and malformed input.

Base URL: https://funapi.dev/api/soap/v1 · 4 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

calculator

Add, Subtract, Multiply, Divide

countries

GetCountry

The SOAP Web Service API is for the QA work that still runs on XML: a calculator and a country lookup with downloadable WSDLs and both SOAP 1.1 (text/xml) and SOAP 1.2 (application/soap+xml) bindings. Faults are real SOAP Faults in the right version's shape — every 1.1 fault is an HTTP 500 and a 1.2 sender fault is a 400 — so a SoapUI or code-based suite can practise asserting on them.

What you can practise here

Example request and response

GET https://funapi.dev/api/soap/v1/calculator.wsdl — WSDL for the calculator service (SOAP 1.1 and 1.2 bindings). No token, no signup:

curl -i https://funapi.dev/api/soap/v1/calculator.wsdl

Response: 200 OK

"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<wsdl:definitions xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"https://funapi.dev/soap/calculator\" targetNamespace=\"https://funapi.dev/soap/calculator\" name=\"Calculator\">\n  <wsdl:types>\n    <xs:schema targetNamespace=\"https://funapi.dev/soap/calculator\" elementFormDefault=\"qualified\">\n      <xs:element name=\"Add\"><xs:complexType><xs:sequence><xs:element name=\"intA\" type=\"xs:int\"/><xs:element name=\"intB\" type=\"xs:int\"/></xs:sequence></xs:complexType></xs:element>\n      <xs:element name=\"AddResponse\"><xs:complexType><xs:sequence><xs:element name=\"AddResult\" type=\"xs:int\"/></xs:sequence></xs:complexType></xs:element>\n      <xs:element name=\"Subtract\"><xs:complexType><xs:sequence><xs:element name=\"intA\" type=\"xs:int\"/><xs:element name=\"intB\" type=\"xs:int\"/></xs:sequence></xs:complexType></xs:element>\n      <xs:element name=\"SubtractR

(truncated — the full response comes back when you run it)

Open and run this endpoint

All 55 mock REST APIs

Use this response elsewhere

Last updated