This example demonstrates how to get an extended WADL generated by jersey.
The description what's done here you find in the jersey wiki and this should not get duplicated.
Just as a pointer at which files you might have a look:
The mapping of the URI path space is presented in the following table:
If you are working with Jersey GlassFish update center module installed into your existing GlassFish instance, you will need to follow instructions at the module README file in order to deploy the example.
Otherwise, you can run the example using embedded GlassFish as follows:
run
mvn clean package embedded-glassfish:run
Note: You need at least JDK 1.6 to be able to start embedded Glassfish V3.
Get the generated wadl via curl:
curl http://localhost:8080/extended-wadl-webapp/application.wadl
Or from a web browser, visit:
http://localhost:8080/extended-wadl-webapp/application.wadl