meteo3il
Click here for a complete list of operations.
Get_ValueByPeriod
DataSet Get_ValueByPeriod(int, string, string, out int, out string) revoie un DataSet avec les mesures de la variable définie par le premier paramètre (1=Température °C, 2=Pression hPa, 3=HumiditéRelative %, 4=VitesseVent km/h, 5=DirectionVent 0à360°, 6=DirectionVentEnLettre NNW WSW °,7=CumulPrecipitationJour en mm, 8=TempératureRessentie °C, 9=TempératurePointDeRosée °C), entre les dates passée en 2° et 3° parammètre (chaine au format dd/mm/aaaa hh:mm),le 4° paramètre retourne le nombre de mesure disponible dans le dataset, la 5° paramètre retourne une mini description de la mesure retournée ou Error
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /meteo3il.asmx HTTP/1.1 Host: www.meteoservice.lab3il.fr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/Get_ValueByPeriod" <?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> <Get_ValueByPeriod xmlns="http://tempuri.org/"> <i_NumValue>int</i_NumValue> <s_DateValue1>string</s_DateValue1> <s_DateValue2>string</s_DateValue2> </Get_ValueByPeriod> </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> <Get_ValueByPeriodResponse xmlns="http://tempuri.org/"> <Get_ValueByPeriodResult> <xsd:schema>schema</xsd:schema>xml</Get_ValueByPeriodResult> <i_Count>int</i_Count> <s_DescValue>string</s_DescValue> </Get_ValueByPeriodResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /meteo3il.asmx HTTP/1.1 Host: www.meteoservice.lab3il.fr 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> <Get_ValueByPeriod xmlns="http://tempuri.org/"> <i_NumValue>int</i_NumValue> <s_DateValue1>string</s_DateValue1> <s_DateValue2>string</s_DateValue2> </Get_ValueByPeriod> </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> <Get_ValueByPeriodResponse xmlns="http://tempuri.org/"> <Get_ValueByPeriodResult> <xsd:schema>schema</xsd:schema>xml</Get_ValueByPeriodResult> <i_Count>int</i_Count> <s_DescValue>string</s_DescValue> </Get_ValueByPeriodResponse> </soap12:Body> </soap12:Envelope>