Re: wadl2java returns void instead of Response

2014-03-17 Thread Sergey Beryozkin
You have several response representations nearly all of them representing errors, only one of them has a 204 status, which is 'void' in JAX-RS. You can use a -noVoidForEmptyResponses option to get Response generated Sergey On 17/03/14 13:37, Graham Leggett wrote: Hi all, I am having a strange

wadl2java returns void instead of Response

2014-03-17 Thread Graham Leggett
Hi all, I am having a strange case of where despite the response being defined, the code generated by wadl2java returns void instead. The generated code looks like this: @POST @Consumes("application/x-www-form-urlencoded") @Path("/password/{mail}") void changePassword(@PathParam