I created a web service in which WSDL imports a schema (let it be called SCHEMA A), in which there is no target namespace. It defines its own types, but also imports other schemas.
So, when the JAXB bindings were created, the package provided to the types coming from SCHEMA A was “generated”. For imported schemas, packages were fine. Is there any way to configure this? I mean, when I use -p, it tries to add all types to the same package, and there are conflicts.
This is not what I expected. Is there a way to assign different packages for different namespaces ... even if this particular schema does not have a target namespace?
It was ideal to find a way to assign the package that I want to a specific SCHEMA A.
source
share