cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Edstrom <seij...@gmail.com>
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.

 <jaxws:dataBinding>
      <ref bean="wcsriJaxb"/>
  </jaxws:dataBinding>

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: http://cxf.547215.n5.nabble.com/Sharing-JAXB-annotated-classes-and-context-between-server-and-client-tp4854817p4854817.html
> Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message