Suchitha Koneru (sukoneru) wrote:
>
> Hello Jersey Users,
>
> I am new to Jersey and I am trying to understand the
> concept of WADL.
>
> As per my understanding WADL for Rest is similar to WSDL for SOAP.
> Are wadls generated on the fly similar to wsdls?
>
Yes. It provides a description of the various resources in your
application and is generated on the fly.
>
> What is the url for accessing wadl from the webapplication?
>
If your application is deployed with name myapplication, the wadl will
be available at http://mydomain/myapplication/application.wadl, assuming
the url-pattern is "/".
>
> Could you please provide any pointers in this regard
>
May be you could have a look at the Jersey helloworld-webapp sample [1]
which generates the WADL on the fly. The wadl can be viewed at [2].
[1]
http://download.java.net/maven/2/com/sun/jersey/samples/helloworld-webapp/1.1.1-ea/helloworld-webapp-1.1.1-ea-project.zip
[2] http://localhost:8080/helloworld-webapp/application.wadl
Hope this helps,
Naresh
>
>
>
> Thank you ,
>
> Suchitha
>
>
>
>
>