WeatherForecast
ここ をクリックすると操作の完全な一覧が表示されます。
GetWeather3dayFmv
テスト
テスト フォームは、ローカル コンピューターからの要求に対してのみ使用できます。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/GetWeather3dayFmv" <?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> <GetWeather3dayFmv xmlns="http://tempuri.org/"> <curdt>dateTime</curdt> <region>int</region> <areano>int</areano> </GetWeather3dayFmv> </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> <GetWeather3dayFmvResponse xmlns="http://tempuri.org/"> <GetWeather3dayFmvResult> <xsd:schema>schema</xsd:schema>xml</GetWeather3dayFmvResult> </GetWeather3dayFmvResponse> </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> <GetWeather3dayFmv xmlns="http://tempuri.org/"> <curdt>dateTime</curdt> <region>int</region> <areano>int</areano> </GetWeather3dayFmv> </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> <GetWeather3dayFmvResponse xmlns="http://tempuri.org/"> <GetWeather3dayFmvResult> <xsd:schema>schema</xsd:schema>xml</GetWeather3dayFmvResult> </GetWeather3dayFmvResponse> </soap12:Body> </soap12:Envelope>