User Tools

Site Tools


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 but of java.util.List (or its subinterface or implementation).

If is specified as a the return type an error will occur.

2015-05-13 11:20:48,146 | ERROR | qtp13754628-69   | wink                             | 
68 - - 2.0.2 | The system could not find a or 
a DataSourceProvider class for the org.apache.openjpa.kernel.DelegatingResultList type and 
application/xml mediaType.  Ensure that a exists in the JAX-RS 
application for the type and media type specified.
apache_wink.txt · Last modified: 2015/05/13 10:10 by mihael