Is it possible to override embedded jaxb customizations with externally defined ones?
0
I have a large set of wsdl with xsd schemas inside for which I want to generate java classes with JAXB customizations. Most tools offer two ways to do that - either embed the customizations inside xsd/wsdl or provide external mapping file. In my case I don't want to alter the wsdl/xsd files as they are not owned by me, I am just a consumer. So I use the approach with external jaxb mapping file. Unfortunately I encountered a few wsdls from my set which already have embedded jaxb customizations inside. In such case CXF cxf-codegen-plugin tool I use throws an error that it is unable to respect the customizations because of duplicated or entries attached to the same place. Examples of errors: compiler was unable to honor this globalBindings customization. It is attached to a wrong place, or its incon...