I am using an Web Service that returns XML. However, I felt lazy not to create a template java class so to convert the returned xml into that class using JAXB unmarshalling. Does anyone know of a way to dynamically generate a class file/POJO using the returned xml with JAXB or any other library?