Well processing the uddi v2 schema with JAXB is not straightforward. JAXB tries to map each element, complextype, simpletype into a jaxb class. And v2 xsd contains some of these elements with the same names. As a result, it leads to an overlap in names of generated classes and hence you see the Error messages.
The customization above handles the issue of duplicate class names. which results in the error reported. Note: You need to include the above customization while generating the JAXB classes.
"My First Blog on JAXB"
No comments yet. -