Service


Click here for a complete list of operations.

Reverse Geocode Lookup

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
latitude:
longitude:

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 /Service.asmx HTTP/1.1
Host: geocoding.vitaltrace.co.nz
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://lbs.itx.com.au/ausgeocode/Reverse Geocode Lookup"

<?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>
    <Reverse_x0020_Geocode_x0020_Lookup xmlns="http://lbs.itx.com.au/ausgeocode">
      <latitude>double</latitude>
      <longitude>double</longitude>
    </Reverse_x0020_Geocode_x0020_Lookup>
  </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>
    <Reverse_x0020_Geocode_x0020_LookupResponse xmlns="http://lbs.itx.com.au/ausgeocode">
      <Reverse_x0020_Geocode_x0020_LookupResult>
        <oid>long</oid>
        <adfound>boolean</adfound>
        <number>string</number>
        <speed>string</speed>
        <road>string</road>
        <location>string</location>
        <state>string</state>
        <latitude>double</latitude>
        <longitude>double</longitude>
        <time_offset>double</time_offset>
        <distance>double</distance>
      </Reverse_x0020_Geocode_x0020_LookupResult>
    </Reverse_x0020_Geocode_x0020_LookupResponse>
  </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 /Service.asmx HTTP/1.1
Host: geocoding.vitaltrace.co.nz
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>
    <Reverse_x0020_Geocode_x0020_Lookup xmlns="http://lbs.itx.com.au/ausgeocode">
      <latitude>double</latitude>
      <longitude>double</longitude>
    </Reverse_x0020_Geocode_x0020_Lookup>
  </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>
    <Reverse_x0020_Geocode_x0020_LookupResponse xmlns="http://lbs.itx.com.au/ausgeocode">
      <Reverse_x0020_Geocode_x0020_LookupResult>
        <oid>long</oid>
        <adfound>boolean</adfound>
        <number>string</number>
        <speed>string</speed>
        <road>string</road>
        <location>string</location>
        <state>string</state>
        <latitude>double</latitude>
        <longitude>double</longitude>
        <time_offset>double</time_offset>
        <distance>double</distance>
      </Reverse_x0020_Geocode_x0020_LookupResult>
    </Reverse_x0020_Geocode_x0020_LookupResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx/Reverse%20Geocode%20Lookup HTTP/1.1
Host: geocoding.vitaltrace.co.nz
Content-Type: application/x-www-form-urlencoded
Content-Length: length

latitude=string&longitude=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Address xmlns="http://lbs.itx.com.au/ausgeocode">
  <oid>long</oid>
  <adfound>boolean</adfound>
  <number>string</number>
  <speed>string</speed>
  <road>string</road>
  <location>string</location>
  <state>string</state>
  <latitude>double</latitude>
  <longitude>double</longitude>
  <time_offset>double</time_offset>
  <distance>double</distance>
</Address>