SOAP test services
SOAP services for testing SOAP clients (SoapUI, Postman, WCF, zeep...). Both SOAP 1.1 (text/xml + SOAPAction) and SOAP 1.2 (application/soap+xml) are accepted; the response uses the same version as the request. /api/soap/calculator — Add / Subtract / Multiply / Divide on intA + intB (namespace http://tempuri.org/). ?wsdl available. /api/soap/countries — GetCountryInfo(countryCode) / ListCountries over hardcoded data. Errors come back as SOAP Faults (1.1: always 500; 1.2: Sender faults 400, Receiver faults 500).
- GET
https://api.testingapis.com/api/soap/calculatorGet the calculator WSDL (with?wsdl) or usage information. - POST
https://api.testingapis.com/api/soap/calculatorCall a calculator operation: Add, Subtract, Multiply or Divide. - GET
https://api.testingapis.com/api/soap/countriesGet the countries WSDL (with?wsdl) or usage information. - POST
https://api.testingapis.com/api/soap/countriesCall a countries operation: GetCountryInfo or ListCountries.
Example request
Get the calculator WSDL (with ?wsdl) or usage information. Full reference and a Send button.
cURL
curl -X GET "https://api.testingapis.com/api/soap/calculator"Response · 200 OK
{
"service": "Calculator",
"wsdl": "https://api.testingapis.com/api/soap/calculator?wsdl",
"operations": ["Add", "Subtract", "… 2 more items"],
"soap11": {
"contentType": "text/xml; charset=utf-8",
"soapAction": "http://tempuri.org/Add",
"sample": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><Add xmlns=\"http://tempuri.org/\"><intA>5</intA><in…
},
"soap12": {
"contentType": "application/soap+xml; charset=utf-8",
"sample": "<soap:Envelope xmlns:soap=\http://www.w3.org/2003/05/soap-envelope\><soap:Body><Add xmlns=\http://tempuri.org/\><intA>5</intA><intB…
}
}