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.
Add, Subtract, Multiply, Divide
GET /soap/v1/calculator.wsdl — WSDL for the calculator service (SOAP 1.1 and 1.2 bindings) · Responds with 200 Link to this endpointPOST /soap/v1/calculator — Add, Subtract, Multiply, Divide — divide by zero returns a SOAP Fault · Responds with 200 400 500 Link to this endpointGetCountry
GET /soap/v1/countries.wsdl — WSDL for the country lookup service · Responds with 200 Link to this endpointPOST /soap/v1/countries — GetCountry by ISO 3166 alpha-2 code (SOAP 1.2 example) · Responds with 200 400 500 Link to this endpointThe 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.
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)
Last updated