Google Geocode Service – XSD

Problem Statement: We need to have XSD for Google Geocode service for easy parsing.

Present situation: Google is not providing XSD.

What to do?

Option 1: Write your parser to parse the response xml and build the response object.

Option 2:

Step 1: Develop XSD for given XML.
Step 2: Use JAXB to build java classes
Step 3: Unmarshal given xml with the help of JAXB

-o-

For more information refer http://geo-google.sourceforge.net/examples.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s