WeatherForecasts result = weatherService.getWeatherByZipCode("94555");
// Dump the result as XML
// Wrap the result so that it can be marshaled
GetWeatherByZipCodeResponse response = new GetWeatherByZipCodeResponse();
response.setGetWeatherByZipCodeResult(result);
// Marshal the JAXB object into XML
JAXBContext context = JAXBContext.newInstance(GetWeatherByZipCodeResponse.class);
StringWriter writer = new StringWriter();
Marshaller marshaller = context.createMarshaller();