New in 2.4: Test runs you can trust See what's new →

Servicios SOAP

Servicios SOAP para probar clientes SOAP (SoapUI, Postman, WCF, zeep...). Se aceptan SOAP 1.1 (text/xml + SOAPAction) y SOAP 1.2 (application/soap+xml); la respuesta usa la misma versión que la petición. /api/soap/calculator: Add / Subtract / Multiply / Divide sobre intA + intB (namespace http://tempuri.org/), con ?wsdl disponible. /api/soap/countries: GetCountryInfo(countryCode) / ListCountries sobre datos fijos. Los errores vuelven como SOAP Faults (1.1: siempre 500; 1.2: Sender faults 400, Receiver faults 500).

Petición de ejemplo

Get the calculator WSDL (with ?wsdl) or usage information. Referencia completa y botón Send (en inglés).

cURL
curl -X GET "https://api.testingapis.com/api/soap/calculator"
Ejecutar en Studio
Respuesta · 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…
  }
}