SOAP サービス

SOAP クライアント(SoapUI、Postman、WCF、zeep など)をテストするための SOAP サービス。SOAP 1.1(text/xml + SOAPAction)と SOAP 1.2(application/soap+xml)を受け付け、レスポンスはリクエストと同じバージョンを使います。/api/soap/calculator:intA + intB に対する Add / Subtract / Multiply / Divide(名前空間 http://tempuri.org/)、?wsdl あり。/api/soap/countries:固定データに対する GetCountryInfo(countryCode) / ListCountries。エラーは SOAP Fault で返ります(1.1:常に 500、1.2:Sender fault は 400、Receiver fault は 500)。SOAP クライアント(SoapUI、Postman、WCF、zeep など)をテストするための SOAP サービス。SOAP 1.1(text/xml + SOAPAction)と SOAP 1.2(application/soap+xml)を受け付け、レスポンスはリクエストと同じバージョンを使います。… + intB に対する Add / Subtract / Multiply / Divide(名前空間 http://tempuri.org/)、?wsdl あり。… GetCountryInfo(countryCode) / ListCountries。エラーは SOAP Fault で返ります(1.1:常に 500、1.2:Sender fault は 400、Receiver fault は 500)。

あなたのアカウントでこれらのエンドポイントが使えます。各エンドポイントのページの Try it でリクエストを送れます。

これらのエンドポイントには無料アカウントが必要です。アカウントを作成するかサインインすると、詳細を見てここで試せます。

リクエストの例

Get the calculator WSDL (with ?wsdl) or usage information. 完全なリファレンスと Send ボタン(英語).

cURL
curl -X GET "https://api.testingapis.com/api/soap/calculator"
レスポンス · 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…
  }
}

サインインして詳細を見る

これらのエンドポイントのパラメータ、リクエストとレスポンスの例、ライブの Try it パネルは、サインインしたメンバー向けです。アカウントは無料で、数秒で作成できます。