This is an old revision of the document!
====== Apache Wink ====== Apache Wink is a REST service implementation of JAX-RS 1.0 and also provides a REST client. ===== Returning List of Objects ===== To return a list of objects to the caller the return type of the method must not be of the class ''javax.ws.rs.core.Response'' but of java.util.List (or its subinterface or implementation). If ''javax.ws.rs.core.Response'' is specified as a the return type an error will occur. 2015-05-13 11:20:48,146 | ERROR | qtp13754628-69 | wink | 68 - org.amdatu.web.rest.wink - 2.0.2 | The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the org.apache.openjpa.kernel.DelegatingResultList type and application/xml mediaType. Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified. ===== Links ===== * [[http://wink.apache.org|Apache Wink]] * [[http://amdatu.org/components/web.html|Amdatu Web Component]]