Refactored to use JAXB. Now generates a complete service.xml file.