Hi



Sergey Beryozkin-2 wrote:

If you do not want to use Spring then you can register your provider with
CxfNonSpringJaxrsServlet :

Is there a way to register the provider programmatically, without Spring?

sure, if you use JAXRSServerFactoryBean then it has a setter accepting a list 
of providers.
if you use CxfNonSpringJaxrsServlet then you can use jaxrs.providers parameter to register a list of provider class names or you can supply to it a JAXRS Application implementation if you prefer.

cheers, Sergey


Thanks in advance.
--
View this message in context: http://www.nabble.com/Error-%3A-No-message-body-writer-found-for-response-class-%3A-ArrayList.----A-String-is-OK...-tp23141179p24643368.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to