Is it possible to define the fact that you are expecting a {colour} in the /colours/{colour} URL as part of a WADL? If so, how would you do it? If not, isn't this a huge oversight of the spec?
Why can't I do something like this to define /colours/{colour}:
<resource path="colours" id="Colours">
<resource id="colour" uri="{colour}">
<method name="GET" id="get_colour"/>
</resource>
</resource>
Thanks in advance.
Found the answer: http://cxf.apache.org/docs/jaxrs-services-description.html
You can define it as a param with a style of template, e.g: