Differences

This shows you the differences between two versions of the page.

Link to this comparison view

apache_wink [2015/05/13 12:10]
apache_wink [2021/04/05 11:23] (current)
Line 1: Line 1:
 +====== 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]]
 +
 +
 +{{tag>java}}