Address Finder Web Service methods

findAddress(address:Address, addressFinderOptions:AddressFinderOptions, token:string):LocationInfo

getAddress
(point:Point, addressFinderOptions:AddressFinderOptions, token:string):Address

getCountries
(dataSource:string, token:string):string[]

getVersion
:string

Method Name

findAddress

Description

Takes an address or intersection and attempts to find the x,y coordinates.

Endpoint URL

http://arcweb.esri.com/services/v2/AddressFinder

Input Parameters

address

Address

addressFinderOptions AddressFinderOptions

token

string

Valid Arguments

address

An address to geocode.

addressFinderOptions

See parameter descriptions in AddressFinderOptions.

token

Authentication token

Output Parameter

Result

LocationInfo

Example (Java)

IAddressFinder myAddressFinder = AddressFinderHelper.bind();
LocationInfo myLocationInfo = myAddressFinder.findAddress(myAddress,myAddressFinderOptions,token);

For myAddress, see Address.

For myAddressFinderOptions, see AddressFinderOptions.

For token, see getToken.

Example (VB.NET)

Dim myAddressFinder As New AddressFinder()
Dim myLocationInfo As New LocationInfo()
myLocationInfo = myAddressFinder.findAddress(myAddress,myAddressFinderOptions,token)

For myAddress, see Address.

For myAddressFinderOptions, see AddressFinderOptions.

For token, see getToken.

Example (C#.NET)

AddressFinder myAddressFinder = new AddressFinder();
LocationInfo myLOcationInfo = new LocationInfo();
myLocationInfo = myAddressFinder.findAddress(myAddress,myAddressFinderOptions,token);

For myAddress, see Address.

For myAddressFinderOptions, see AddressFinderOptions.

For token, see getToken.

 

Method Name

getAddress

Description

Returns address information for an x,y coordinate.

Endpoint URL

http://arcweb.esri.com/services/v2/AddressFinder

Input Parameters

point

Point

addressFinderOptions

AddressFinderOptions

token

string

Valid Arguments

point

x,y coordinate.

addressFinderOptions

See parameter descriptions in AddressFinderOptions.

token

Authentication token

Output Parameter

Result

Address

Example (Java)

IAddressFinder myAddressFinder = AddressFinderHelper.bind();
Address myAddress = myAddressFinder.getAddress(myPoint, myAddressFinderOptions, token);

Example (VB.NET)

Dim myAddressFinder As New AddressFinder()
Dim myAddress As New Address()
myAddress = myAddressFinder.getAddress(myPoint, myAddressFinderOptions, token)

Example (C#.NET)

myAddressFinder = new AddressFinder();
myAddress = new Address();
myAddress = myAddressFinder.getAddress(myPoint, myAddressFinderOptions, token);

 

Method Name

getCountries

Description

Returns the countries that can be used for geocoding addresses with a specific datasource. The countries are listed by their FIPS-codes. To see the names of the countries, see Country Codes.

Endpoint URL

http://arcweb.esri.com/services/v2/AddressFinder

Input Parameters

dataSource

string

token

string

Valid Arguments

dataSource

See Data sources and credits.

token

Authentication token

Output Parameter

Result

string[]

Example (Java)

IAddressFinder myAddressFinder = AddressFinderHelper.bind();
String[] myCountries = myAddressFinder.getCountries("GDT.Streets.US", token);

Example (VB.NET)

Dim myAddressFinder As New AddressFinder()
Dim myCountries() As String
myCountries = myAddressFinder.getCountries("GDT.Streets.US", token)

Example (C#.NET)

myAddressFinder = new AddressFinder();
String[] myCountries = myAddressFinder.getCountries("GDT.Streets.US", token);

 

Method Name

getVersion

Description

Returns the version number of Address Finder Web Service.

Endpoint URL

http://arcweb.esri.com/services/v2/AddressFinder

Output Parameter

Result

string

Example (Java)

IAddressFinder myAddressFinder = AddressFinderHelper.bind();
String version = myAddressFinder.getVersion();

Example (VB.NET)

Dim myAddressFinder As New AddressFinder()
Dim version As String
version = myAddressFinder.getVersion()

Example (C#.NET)

AddressFinder myAddressFinder = new AddressFinder();
string version = myAddressFinder.getVersion();

 

See also

Address Finder overview

Address Finder data sources and credits


Location codes


SOAP samples


Object model