On Thursday 11 December 2008 6:14:11 pm Rao, Sameer V wrote:
>  Hi,
>
> I am not able to find documentation/sample that illustrates how to
> expose a service (Java First approach) that takes in XMLStreamReader as
> input and return XMLSTreamReader?
>
> Is there any sample?

There is a "StaxDataBinding" in CXF.  It's just a bit harder to work with.   
The main issue is that it HAS to remove some of the other interceptors 
(DocLiteralInInterceptor, BareInInterceptor, etc...) that would iterate over 
the XMLStreamReader to see if there are more elements to map to parts.

Look at the org.apache.cxf.databinding.stax.StaxDataBinding stuff.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to