Quantcast
Channel: Metro and JAXB Related Items on Java.net
Viewing all articles
Browse latest Browse all 171

[wsimport-xjc] Handling Duplicate ObjectFactories

$
0
0

We have a number of common schemas that we've created separate jars for to avoid duplication and inconsistencies during code generation of our WSDLs.

However, wsimport still generates the ObjectFactory classes for these types even though there is an ObjectFactory in the xjc-produced jars.

For one of the schemas, we simply delete the package folders during the build process to avoid the collision, but that's not really the desired route. We'd rather hide this from the service developer.

Is there a way to tell wsimport to not generate the ObjectFactory for these types?

EDIT:

JAXB Version: 2.1.11
JAX-WS Version: 2.1.7
JDK Version: 1.6_30


Viewing all articles
Browse latest Browse all 171

Trending Articles