users@jersey.java.net

[RFC/RFH] Generating WADL and using it with client

From: Imran M Yousuf <imran_at_smartitengineering.com>
Date: Mon, 25 Aug 2008 10:41:54 +0600

Hi,

I am fairly new to RESTful WS in terms of using it and as steps of
learning it I am interested in generating WADL and using it for
generating client stubs. Following the generate-wadl sample I
succeeded in producing the wadl file :) but I am not sure whether its
content are appropriate or not. Additionally the schema file seemed to
referred to from the wadl rather than including its content.

Firstly, I would be grateful if someone could please confirm whether
their content is okey or not.

Then I tried to create client stub from the WADL file in NetBeans
WebApplication project. But inspecting the JavaScript it shows that it
did could initialize the location but it did not read the resources
from the WADL. Is this normal? I was under the impression it would
also create operations for the resources as well. Can someone point me
to a ANT or Maven plugin to generate the client stubs for Java or JS?

I would also be grateful if someone would be kind enough to point me
to an example or sample on how to use the Jersey Client API.

Thank you and best regards,

-- 
Imran M Yousuf
Email: imran_at_smartitengineering.com
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557