cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n99 <h.bab...@sheffield.ac.uk>
Subject Re: Using jaxrs XSLTJaxbProvider with jaxws endpoint through JAXRSDataBinding. Is it possible?
Date Thu, 07 Jun 2012 09:56:01 GMT
Thanks for that
I will try the interceptor.

But I'd like to the query the docs at:

http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-CXFDataBindingsasJAXRSproviders

the config says 

<jaxws:endpoint xmlns:s="http://hello.com"
      serviceName="s:HelloWorld"
      endpointName="s:HelloWorldPort"
      id="hello_soap-databinding"
      implementor="org.apache.cxf.systest.jaxrs.jaxws.HelloWorldImpl"
      address="/hello-soap-databinding">
      
      <jaxws:dataBinding>
          <ref bean="jaxrs-data-binding"/>
      </jaxws:dataBinding>
      
  </jaxws:endpoint>        
 
  <bean id="jaxrs-data-binding"
class="org.apache.cxf.jaxrs.provider.JAXRSDataBinding">
      <property name="provider" ref="jaxbProviderSoap"/>
  </bean>

  <bean id="jaxbProviderSoap"
class="org.apache.cxf.jaxrs.provider.JAXBElementProvider"/>

which I think shows a JAX-RS provider being used ultimately in a CXF
DataBinding object?


Specifically it shows:

a org.apache.cxf.jaxrs.provider.JAXBElementProvider being wired into a
org.apache.cxf.jaxrs.provider.JAXRSDataBinding being used in a
jaxws:dataBinding in a jaxws:endpoint

I was configuring:

a org.apache.cxf.jaxrs.provider.XSLTJaxbProvider being wired into a
org.apache.cxf.jaxrs.provider.JAXRSDataBinding being used in a
jaxws:dataBinding in a jaxws:endpoint


.....and org.apache.cxf.jaxrs.provider.XSLTJaxbProvider is a subclass of
org.apache.cxf.jaxrs.provider.JAXBElementProvider.......?

Cheers











--
View this message in context: http://cxf.547215.n5.nabble.com/Using-jaxrs-XSLTJaxbProvider-with-jaxws-endpoint-through-JAXRSDataBinding-Is-it-possible-tp5709183p5709344.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message