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


For more information refer