TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get the calculator WSDL

GEThttps://api.testingapis.com/api/soap/calculatorSign in to see this endpoint's URL

Get the calculator WSDL (with ?wsdl) or usage information.

GET /api/soap/calculator?wsdl returns a WSDL 1.1 document with SOAP 1.1 and 1.2 bindings, which SoapUI, WCF or zeep can import. Without ?wsdl you get JSON listing the operations and ready-to-send sample envelopes.GET … returns a WSDL 1.1 document with SOAP 1.1 and 1.2 bindings, which SoapUI, WCF or zeep can import. Without ?wsdl you get JSON listing the operations and ready-to-send sample envelopes.

Responses

200
WSDL (text/xml) or usage JSON.

Example

Request
curl -X GET "https://api.testingapis.com/api/soap/calculator" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 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…
  }
}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.