WeatherForecast


ここ をクリックすると操作の完全な一覧が表示されます。

GetArea

テスト

テスト フォームは、ローカル コンピューターからの要求に対してのみ使用できます。

SOAP 1.1

以下は SOAP 1.1 の要求および応答のサンプルです。表示されるプレースホルダーを実際の値で置き換える必要があります。

POST /WeatherForecast.asmx HTTP/1.1
Host: weather.tsuri-navi.jp
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetArea"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetArea xmlns="http://tempuri.org/">
      <prefno>int</prefno>
    </GetArea>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetAreaResponse xmlns="http://tempuri.org/">
      <GetAreaResult>
        <xsd:schema>schema</xsd:schema>xml</GetAreaResult>
    </GetAreaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

以下は、SOAP 1.2 の要求および応答のサンプルです。表示される プレースホルダーを実際の値で置き換える必要があります。

POST /WeatherForecast.asmx HTTP/1.1
Host: weather.tsuri-navi.jp
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetArea xmlns="http://tempuri.org/">
      <prefno>int</prefno>
    </GetArea>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetAreaResponse xmlns="http://tempuri.org/">
      <GetAreaResult>
        <xsd:schema>schema</xsd:schema>xml</GetAreaResult>
    </GetAreaResponse>
  </soap12:Body>
</soap12:Envelope>