WSGeo


Kliknij tutaj, aby uzyskać pełną listę operacji.

SetGeo

Test

Formularz testowy jest dostępny tylko dla żądań z komputera lokalnego.

SOAP 1.1

Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.1. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

POST /WSGeo.asmx HTTP/1.1
Host: polimerymobile.jantar.pl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://jantar.pl/SetGeo"

<?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>
    <SetGeo xmlns="http://jantar.pl/">
      <RFID>string</RFID>
      <Latitude>string</Latitude>
      <Longitude>string</Longitude>
      <Altitude>string</Altitude>
    </SetGeo>
  </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>
    <SetGeoResponse xmlns="http://jantar.pl/">
      <SetGeoResult>
        <StatusFlag>boolean</StatusFlag>
        <StatusMesage>string</StatusMesage>
      </SetGeoResult>
    </SetGeoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.2. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

POST /WSGeo.asmx HTTP/1.1
Host: polimerymobile.jantar.pl
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>
    <SetGeo xmlns="http://jantar.pl/">
      <RFID>string</RFID>
      <Latitude>string</Latitude>
      <Longitude>string</Longitude>
      <Altitude>string</Altitude>
    </SetGeo>
  </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>
    <SetGeoResponse xmlns="http://jantar.pl/">
      <SetGeoResult>
        <StatusFlag>boolean</StatusFlag>
        <StatusMesage>string</StatusMesage>
      </SetGeoResult>
    </SetGeoResponse>
  </soap12:Body>
</soap12:Envelope>