Hi jaxrs:binding is reserved for plugging in alternative binding implementations. For example it is the XMLBinding which is used by the JAXRS runtime under the hood.
Are the properties declared by jaxb:bindings meant to be set on JAXB Marshaller ? If yes then you can set a marshallerProperties map property on a JAXBElementProvider. Dan, is is possible to configure jaxb:bindings using a JAXBDataBinding bean ? If yes then is it JAXBContext properties that they translate to ? Or Marshaller properties ? David, one possible JAXRS specific option which might also help is to register a CustomContextResolver<JAXBContext> which implements JAXRS ContextResolver and JAXBElementProvider will check this resolver for contexts for individual classes.... cheers, Sergey KARR, DAVID (ATTCINW) wrote: > > If I need to customize the Java->XML binding by creating a > "jaxb:bindings" element, where would I put that? Would it go in the > "jaxrs:bindings" element that is contained within the "jaxrs:server" > element? If so, is this possible in 2.2.3, or only in the trunk? > > -- View this message in context: http://www.nabble.com/Can-JAXB-bindings-be-placed-inside-%22jaxrs%3Abindings%22--tp25353232p25367897.html Sent from the cxf-user mailing list archive at Nabble.com.
