On 10/10/12 11:28, Timothy Canavan wrote:
What is the recommended was to provide JSON support for an existing contract 
first JAX-WS web service which uses JAXB for binding.

Should I simply use JAX-RS or integrate JSON into the JAX-WS stack somehow.


Have a look at systests/transports/src/test/java/org/apache/cxf/systest/servlet/restful_service.xml,

alternatively, you can indeed introduce a JAX-RS endpoint and share the same service bean between JAXWS and JAXRS endpoints

Cheers, Sergey


Tim




--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to