On 17 Apr 2014, at 5:50 PM, Sergey Beryozkin <[email protected]> wrote:

> It is not possible to return Response<User>.
> If you only had
> 
> <representation mediaType="application/xml"/>
> 
> then you'd get Response, but I agree having a schema element reference may be 
> useful for the 3rd party consumers of WADL.
> 
> We will need to introduce an option to return Response even if a link to the 
> generated class like Users is available

We are doing wadl-first development where the wadl is the formal contract 
between the supplier of a service and the consumer of a service, so removing 
the element has side effects.

Regards,
Graham
--

Reply via email to