Are there any samples available that show how to use WadlApplication and 
WadlResource to generate a customized WADL document?  I have the bare 
minimum implemented, where I derive from these classes, and get a minimal 
WADL doc that describes the URIs, and mentions the "GET" operations for a 
resource, but I don't understand the API well enough to customize the 
output, for example, by specifying possible error returns.

For example, if I have a resource that can return HTML messages for errors 
(400, 401 or 404), or XML for redirection (300 or 303), or a normal 200, 
what steps do I need to do?  Clearly I need to override 
WadlResource.describeGet(), but beyond that, I get somewhat lost.

Thanks for any pointers!

--------------------------------
John Wismar
[email protected]

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1200079

Reply via email to