You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Avner.Levy" <av...@gmail.com> on 2013/01/27 09:24:44 UTC

Re: Reuse JAXB context in jaxws

I've tried to do the same through code:
    jaxwsEndpoint.getProperties().put("org.apache.cxf.jaxb.JAXBDataBinding",
jaxbDataBinding);
before calling:
    jaxwsEndpoint.publish(URL);
And the service starts very fast as if they are reusing the context in
jaxbDataBinding.
But when connecting later I've discovered that the service context contains
only 50 classes while the original contained 700.
Any idea how come I finish with a different context?
Thanks in advance,
   Avner



--
View this message in context: http://cxf.547215.n5.nabble.com/Reuse-JAXB-context-in-jaxws-tp5715356p5722297.html
Sent from the cxf-user mailing list archive at Nabble.com.