cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Edstrom <>
Subject Re: Sharing JAXB annotated classes and context between server and client.
Date Fri, 30 Sep 2011 01:47:15 GMT
Doing it on the server is pretty easy, doing it on the client less so.

      <ref bean="wcsriJaxb"/>

And you probably need to extend JAXBDataBinding

On Sep 29, 2011, at 3:50 PM, paragmehta wrote:

> Folks,
> I have existing java classes annotated with JAXB annotations and customized
> JAXB context.  Am trying to expose a service using these objects over WS
> using CXF.
> * How do I specify custom JAXB context settings on server.
> * For the client, I want to use same JAXB annotated classes without creating
> new ones from WSDL.  How do I do this, and how do I specify the custom JAXB
> context settings on client side.
> Thanks.
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

View raw message