meteo3il


Click here for a complete list of operations.

Get_ValueByDate

string Get_ValueByDate(int, string, out string, out string) renvoie la mesure 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), à la date la plus proche de celle passée en parammètre (chaine au format dd/mm/aaaa hh:mm),le 3° paramètre contenant la date de la mesure (chaine au format dd/mm/aaaa hh:mm:ss), le 4° paramètre une mini description de la valeur, la valeur retournée est une chaîne de caractère contenant la valeur 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_ValueByDate"

<?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_ValueByDate xmlns="http://tempuri.org/">
      <i_NumValue>int</i_NumValue>
      <s_DateValueIn>string</s_DateValueIn>
    </Get_ValueByDate>
  </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_ValueByDateResponse xmlns="http://tempuri.org/">
      <Get_ValueByDateResult>string</Get_ValueByDateResult>
      <s_DateValueOut>string</s_DateValueOut>
      <s_DescValue>string</s_DescValue>
    </Get_ValueByDateResponse>
  </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_ValueByDate xmlns="http://tempuri.org/">
      <i_NumValue>int</i_NumValue>
      <s_DateValueIn>string</s_DateValueIn>
    </Get_ValueByDate>
  </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_ValueByDateResponse xmlns="http://tempuri.org/">
      <Get_ValueByDateResult>string</Get_ValueByDateResult>
      <s_DateValueOut>string</s_DateValueOut>
      <s_DescValue>string</s_DescValue>
    </Get_ValueByDateResponse>
  </soap12:Body>
</soap12:Envelope>