On Monday, September 05, 2011 2:54:06 AM CXF user1109 wrote: > About SOAP, for response/outgoing message by default CXF uses > Provider<Source>? > > If I want to do streaming for esponse/outgoing message, I need to write > Provider<XMLStreamReader> or Provider<StaxSource>?
No, you can leave it as Provider<Source> By default, the Source object you get in will be streaming from the request. It will likely be a StaxSource where you could get the XMLStreamReader. Then return any type of Source that is convienient. Returning a StaxSource should be fine if that works best for you. Dan > > if so how? > > I am new to SOAP and thank you for your support. > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/CXF-JAX-RS-support-multiple-request-method- > designators-to-one-method-tp4749559p4769870.html Sent from the cxf-user > mailing list archive at Nabble.com. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
