On Sep 10, 2013, at 9:29 AM, KBulgakov <[email protected]> wrote: > Are there any possibility to add package(-s) to Jaxb Context, while > generating client, using configuration settings? > > To achieve same result as by - > JAXBContext.newInstance("com.mycompany:com.mycompany2");
You can use the @XmlSeeAlso annotation or the jaxb.additionalContextClasses property to add additional specific classes, but not a full "package". However, if the package is JAXB generated, if you use the ObjectFactory.class in the XmlSeeAlso or similar, that will normally pick up everything. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
