Geo
Click here for a complete list of operations.
GetGeoResponseByAddress
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /rest/Geo.asmx HTTP/1.1 Host: services.fnf.co.za Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetGeoResponseByAddress" <?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> <GetGeoResponseByAddress xmlns="http://tempuri.org/"> <fullAddress>string</fullAddress> </GetGeoResponseByAddress> </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> <GetGeoResponseByAddressResponse xmlns="http://tempuri.org/"> <GeocodeResponse> <status>string</status> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location xsi:nil="true" /> <location_type>string</location_type> <viewport xsi:nil="true" /> <bounds xsi:nil="true" /> </geometry> <place_id>string</place_id> </result> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location xsi:nil="true" /> <location_type>string</location_type> <viewport xsi:nil="true" /> <bounds xsi:nil="true" /> </geometry> <place_id>string</place_id> </result> </GeocodeResponse> </GetGeoResponseByAddressResponse> </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 /rest/Geo.asmx HTTP/1.1 Host: services.fnf.co.za 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> <GetGeoResponseByAddress xmlns="http://tempuri.org/"> <fullAddress>string</fullAddress> </GetGeoResponseByAddress> </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> <GetGeoResponseByAddressResponse xmlns="http://tempuri.org/"> <GeocodeResponse> <status>string</status> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location xsi:nil="true" /> <location_type>string</location_type> <viewport xsi:nil="true" /> <bounds xsi:nil="true" /> </geometry> <place_id>string</place_id> </result> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location xsi:nil="true" /> <location_type>string</location_type> <viewport xsi:nil="true" /> <bounds xsi:nil="true" /> </geometry> <place_id>string</place_id> </result> </GeocodeResponse> </GetGeoResponseByAddressResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /rest/Geo.asmx/GetGeoResponseByAddress?fullAddress=string HTTP/1.1 Host: services.fnf.co.za
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GeocodeResponse xmlns="http://tempuri.org/"> <status>string</status> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location> <lat>string</lat> <lng>string</lng> </location> <location_type>string</location_type> <viewport> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </viewport> <bounds> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </bounds> </geometry> <place_id>string</place_id> </result> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location> <lat>string</lat> <lng>string</lng> </location> <location_type>string</location_type> <viewport> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </viewport> <bounds> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </bounds> </geometry> <place_id>string</place_id> </result> </GeocodeResponse>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /rest/Geo.asmx/GetGeoResponseByAddress HTTP/1.1 Host: services.fnf.co.za Content-Type: application/x-www-form-urlencoded Content-Length: length fullAddress=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GeocodeResponse xmlns="http://tempuri.org/"> <status>string</status> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location> <lat>string</lat> <lng>string</lng> </location> <location_type>string</location_type> <viewport> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </viewport> <bounds> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </bounds> </geometry> <place_id>string</place_id> </result> <result> <type>string</type> <type>string</type> <formatted_address>string</formatted_address> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <address_component> <long_name>string</long_name> <short_name>string</short_name> <type>string</type> <type>string</type> </address_component> <geometry> <location> <lat>string</lat> <lng>string</lng> </location> <location_type>string</location_type> <viewport> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </viewport> <bounds> <southwest d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <northeast d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </bounds> </geometry> <place_id>string</place_id> </result> </GeocodeResponse>