On Monday, October 03, 2011 1:31:08 PM Tarun Ramakrishna wrote: > Hi all, > > We are looking at generating CXF bus definitions (with features and > lists of interceptors, etc) from Java POJO's. We looked at generating > JAXB POJO's from cxf-core.xsd using xjc. Unfortunately, it appears > that cxf-core.xsd is not JAXB-friendly since it makes extensive use of > xsd:anyType to define features and interceptor lists. Looks like we > will need to do heavy JAXB binding customization here. Maybe we are > missing something - is there already an existing JAXB model that can > be marshalled to a CXF spring XML ? Or is there an alternative > mechanism ?
There isn't really anything that I can think of, no. It's just not something I think anyone has tried to do yet. Wish I could help more, but I'm really at a loss. Dan > The one alternate we can think of is to extend the CXF > POJO model - classes such as CXFBusImpl and the various feature > classes and provide JAXB annotations on them. But this appears rather > brittle. > > We would be grateful for any suggestions/tips/pointers ! > > Thanks, > Tarun -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
