This topic has not yet been written. The content below is from the topic description.
Here's an example: @Path("/") public interface LibraryService { @GET @Produces("application/xml") ClientResponse getAllBooks(); } We need to include the LibraryPojo in ClientResponse's generic declaration so that the client proxy framework knows how to unmarshal the HTTP response body.