In many applications unverified data is processed, which often leads to inconsistence or errors.
Therefore the need for applications to validate this data is high. A lot of types of data can be
verified easily but more complex user data such as full-text-addresses pose a great challenge
towards validation.
This paper proposes an exemplary solution for such a validation by describing the development
of a web service that allows a research conference database 1 to validate conference-location-
strings. The validation consists of checking the plausibility of the location string, correction and
standardization of the spelling, classification (City, State, Country, etc.) and providing corre-
sponding data such as latitude and longitude. For this purpose, the web service accesses the
GeoNames database. Consequently, the conference database receives a rich response which it
can also use to provide further information, e.g., embedded maps or HTML5-Microdata-
Markup.
Table of Contents
1 Introduction
2 Basics
2.1 Web Services
2.1.1 SOAP/WSDL
2.1.2 RESTtful Web Services
2.1.3 Conclusion and Decision for RESTful Approach
2.1.4 Slim PHP Framework
2.2 GeoNames
3 System Design
3.1 Problem
3.2 Requirements and Structure
4 Implementation
4.1 Splitting the string
4.2 Validating the Country
4.3 Validating other Parts
4.4 Accessing GeoNames
4.5 Test-Application
5 Testing
6 Conclusion and Outlook
References
Appendix
- Quote paper
- Markus Rothenhöfer (Author), 2012, Development of a Location Validation Web Service, Munich, GRIN Verlag, https://www.grin.com/document/198397
-
Upload your own papers! Earn money and win an iPhone X. -
Upload your own papers! Earn money and win an iPhone X. -
Upload your own papers! Earn money and win an iPhone X. -
Upload your own papers! Earn money and win an iPhone X. -
Upload your own papers! Earn money and win an iPhone X. -
Upload your own papers! Earn money and win an iPhone X.