On Thursday, June 07, 2012 02:56:01 AM n99 wrote: > 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-CX > FDataBindingsasJAXRSproviders
Interesting. I didn't even know about that. Cool. More stuff Sergey did when I wasn't watching... :-) Not sure what the issue is. The XSLTJaxbProvider may not be able to handle the XMLStreamReader/Writer forms that the JAX-WS side of things require. In JAX-RS, the providers generally use the raw streams with only a couple updated to also handle StAX. Dan > > 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-e > ndpoint-through-JAXRSDataBinding-Is-it-possible-tp5709183p5709344.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
