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

Get the countries WSDL or usage information

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

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

GET /api/soap/countries?wsdl returns a WSDL 1.1 document with SOAP 1.1 and 1.2 bindings. Without ?wsdl you get JSON listing the operations, the available country codes and a sample envelope.GET … returns a WSDL 1.1 document with SOAP 1.1 and 1.2 bindings. Without ?wsdl you get JSON listing the operations, the available country codes and a sample envelope.

Responses

200
WSDL (text/xml) or usage JSON.

Example

Request
curl -X GET "https://api.testingapis.com/api/soap/countries" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "service": "Countries",
  "wsdl": "https://api.testingapis.com/api/soap/countries?wsdl",
  "namespace": "http://example.com/countries",
  "operations": ["GetCountryInfo(countryCode)", "ListCountries()"],
  "codes": ["US", "GB", "… 8 more items"],
  "sample": <soap:Envelope xmlns:soap=\http://schemas.xmlsoap.org/soap/envelope/\><soap:Body><GetCountryInfo xmlns=\http://example.com/countries\…
}

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.