users@wadl.java.net

How to describe primitive representations

From: Sergey Beryozkin <sberyozk_at_progress.com>
Date: Tue, 23 Feb 2010 11:06:32 +0000

Hi,

Consider this JAXRS resource :

@Path("/")
public class Resource {
    @GET
    @Produces("text/plain")
    public String getValue() {return "plain value";}
}

How to have such a plain representation described in WADL ?

Perhaps

<representation>
    <param style="plain"/>
</representation>

?

thanks, Sergey