Generate your structure from you xsd schema file, for example: xjc -d src/main/java -p com.google.georesponsev1.jaxb schema/geocodeResponse.xsd This example uses the Google Webservice for resolving placenames into geographic coordinates.