On Fri, 07 Jan 2011 10:03:54 +0100, Bruno Dusausoy <[email protected]> wrote: > Hi, > > I have a small problem regarding JAXB 2.0 compatibility when using > cxf-codegen-plugin (whatever version I use, I get the same problem). > It seems that, even if I put the > <extraarg>-xjc-Xsetters,-target,2.0</extraarg> option, it still > generates @XmlSeeAlso annotation for *only* one class, the principal > interface (NisseLoopbaan interface, coming from NisseLoopbaan_V1.wsdl > in this case). > > Here's the link to the snippet I use in my POM : > http://debian.pastebin.com/9Xy7JgiD >
For information, here's the command line used by the plugin : wsdl2java -d C:\stsWorkspace\CAS-Azur-Struts2-Web\target\generated\src\main\java -b file:/C:/stsWorkspace/CAS-Azur-Struts2-Web/src/jaxws-binding.xml -p http://www.rsvz-inasti.fgov.be/schemas/WS/schema/Loopbaan/B2BExchanges/V1=be.ucm.cas.carriere.inasti.b2bexchanges -p http://www.rsvz-inasti.fgov.be/schemas/WS/Loopbaan/V1=be.ucm.cas.carriere.inasti.loobpaan -p http://www.rsvz-inasti.fgov.be/schemas/WS/schema/MetaInfo/V5=be.ucm.cas.carriere.inasti.metainfo -p http://www.rsvz-inasti.fgov.be/schemas/WS/schema/Loopbaan/CommonTypes/V1=be.ucm.cas.carriere.inasti.commontype -p http://www.rsvz-inasti.fgov.be/schemas/WS/Helper/V2=be.ucm.cas.carriere.inasti.helper -b C:\stsWorkspace\CAS-Azur-Struts2-Web/src/jaxb-binding.xml -xjc-Xsetters,-target,2.0 -verbose file:/C:/stsWorkspace/CAS-Azur-Struts2-Web/xml/wsdl/Loopbaan/NisseLoopbaan_V1.wsdl which seems to be correct, but it still creates *only one* @XmlSeeAlso. -- Bruno Dusausoy YP5 Software -- Pensez environnement : limitez l'impression de ce mail. Please don't print this e-mail unless you really need to.
