A developer may choose not to expose a Web Application Description Language (WADL) document for a resource so that they do not expose information about the service. Information about the service might be better obtained via a document provided by the developer outside of the service.
By default, a WADL document can be requested for a particular resource by invoking an HTTP OPTIONS request for any Java API for RESTful Web Services (JAX-RS) URL. You can issue an OPTIONS request with most HTTP clients. However, if you do not like this behavior and want to merely return an empty document for any OPTIONS request by default, you can disable the default WADL generation for your application.
In the following example, you can disable the default WADL generation for your application.
You have disabled the default WADL generation for your application.
In this information ...Related tasks
Related reference
| IBM Redbooks, demos, education, and more(Index) |