Service


İşlemlerin tam listesi için burayı tıklatın.

Hava_Durumu_anlik

Sınama

Sınama formu yalnızca yerel makineden yapılan istekler için kullanılabilir.

SOAP 1.1

Aşağıdaki örnekte bir SOAP 1.1 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /Service.asmx HTTP/1.1
Host: servismobil.afyon.bel.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.k7.com.tr/Hava_Durumu_anlik"

<?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>
    <Hava_Durumu_anlik xmlns="http://www.k7.com.tr">
      <tag_stripping>boolean</tag_stripping>
      <id>string</id>
    </Hava_Durumu_anlik>
  </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>
    <Hava_Durumu_anlikResponse xmlns="http://www.k7.com.tr">
      <Hava_Durumu_anlikResult>
        <id>int</id>
        <condition>string</condition>
        <temperature>string</temperature>
        <date>dateTime</date>
        <icon_path>string</icon_path>
        <nameofday>string</nameofday>
      </Hava_Durumu_anlikResult>
    </Hava_Durumu_anlikResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Aşağıdaki örnekte bir SOAP 1.2 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /Service.asmx HTTP/1.1
Host: servismobil.afyon.bel.tr
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>
    <Hava_Durumu_anlik xmlns="http://www.k7.com.tr">
      <tag_stripping>boolean</tag_stripping>
      <id>string</id>
    </Hava_Durumu_anlik>
  </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>
    <Hava_Durumu_anlikResponse xmlns="http://www.k7.com.tr">
      <Hava_Durumu_anlikResult>
        <id>int</id>
        <condition>string</condition>
        <temperature>string</temperature>
        <date>dateTime</date>
        <icon_path>string</icon_path>
        <nameofday>string</nameofday>
      </Hava_Durumu_anlikResult>
    </Hava_Durumu_anlikResponse>
  </soap12:Body>
</soap12:Envelope>