Whether it be an in-house application, a database or a website based data entry
form Data8 can help reduce the effort of capturing an address accurately and at
the same time can ensure that it is stored in a standard format.
Using postcode lookup from Data8 also reduces the amount of data that needs to be
entered by the customer. By collecting house number and post code and using the
postcode lookup web service the full PAF validated address can be returned. By supplying
a post code on its own a list of addresses will be presented to the user and all
that they have to do is select the appropriate one.
With our range of integration options, from simple
Javascript popups
that you can add in minutes by copying & pasting code, or our
ASP.NET controls, or our
full web service
interface, you can add postcode lookup options to your website in minutes. You
can get started now by registering for a
free trial.
If you want to use our postcode lookup services with a desktop application, take
a look at our Integr8
Postcode Lookup application to add fast, accurate address capture services to
all popular applications in minutes.
Javascript Popups
The simplest method of using the Postcode Lookup service from a web page is by using
our Javascript popups.
This lets you just copy & paste a few lines of code into your
existing web pages to get you set up in minutes, and requires no programming knowledge.
ASP.NET Controls
If you're an ASP.NET developer, we've got a ready made control for you to drag & drop
onto your web forms to add fully integrated postcode lookup functions into your web forms
in no time. Check out the tutorial,
or download the control now.
SOAP Web Service
The Postcode Lookup service from Data8 is accessed through SOAP web services, making it
simple to use from any major programming language.
Web Service URLs
The service is available on the URL:
http://webservices.data-8.co.uk/AddressCapture.asmx
The WSDL definition of the service is available at:
http://webservices.data-8.co.uk/AddressCapture.asmx?WSDL
Example Code
The following C# code demonstrates retrieving a full address given a postcode and building name or number.
AddressCapture proxy = new AddressCapture();
AddressOutput result = proxy.GetFullAddressSimple(
"username",
"password",
AddressCaptureLicence.WebClickFull,
PostcodeTextBox.Text,
HouseTextBox.Text);
if (!result.Status.Success)
throw new ApplicationException(result.Status.ErrorMessage);
if (result.Results.Length == 0)
throw new ApplicationException("Invalid postcode or building details");
foreach (FormattedAddress address in result.Results)
{
StringBuilder builder = new StringBuilder();
foreach (string line in address.Address.Lines)
{
if (String.IsNullOrEmpty(line))
continue;
if (builder.Length > 0)
builder.Append(", ");
builder.Append(line);
}
AddressListBox.Items.Add(builder.ToString());
}
Do you intend to use this service from a publically-accessible web site (e.g. as part
of a shopping cart checkout)?
If not, how many computers or other devices will this service be accessed from?
Do you require access to the full details of each address, or just the details to
street level?
How many times per year do you anticipate the service being used (in total if being used
on the web, or per user if being used internally)?