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 ? 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

Reply via email to