Hi
You can use CXFNonSpringJaxrsServlet where JSONProvider is configured
via either custom JAX-RS Application or declaratively, see
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesincontainerwithoutSpring
Cheers, Sergey
On 10/01/14 12:11, rpd wrote:
Hi,
The fact that Jettison incorrectly handles single-element arrays (as
http://jira.codehaus.org/browse/JETTISON-102) is unfortunately causing us
lots of problems. Though there is a well-publicized Spring workaround we
are not using CXF with Spring (and have no plans to either).
How can I set the Jettison "serializeAsArray" parameter WITHOUT SPRING? Is
there some way I can do it in my service code programmatically? Can I
configure it somehow as an init param in web.xml?
Would really appreciate some help here before we resort to desparate
measures.
Rob
--
View this message in context:
http://cxf.547215.n5.nabble.com/NON-SPRING-JSON-array-serialization-workaround-please-tp5738442.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com