meteo3il


Click here for a complete list of operations.

Get_Value

string Get_Value(int, out string, out string) renvoie la dernière 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), le 2° paramètre contenant la date de la mesure (chaine au format dd/mm/aaaa hh:mm:ss), le 3° 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_Value"

<?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_Value xmlns="http://tempuri.org/">
      <i_NumValue>int</i_NumValue>
    </Get_Value>
  </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_ValueResponse xmlns="http://tempuri.org/">
      <Get_ValueResult>string</Get_ValueResult>
      <s_DateValue>string</s_DateValue>
      <s_DescValue>string</s_DescValue>
    </Get_ValueResponse>
  </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_Value xmlns="http://tempuri.org/">
      <i_NumValue>int</i_NumValue>
    </Get_Value>
  </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_ValueResponse xmlns="http://tempuri.org/">
      <Get_ValueResult>string</Get_ValueResult>
      <s_DateValue>string</s_DateValue>
      <s_DescValue>string</s_DescValue>
    </Get_ValueResponse>
  </soap12:Body>
</soap12:Envelope>