Network Deployment (Distributed operating systems), v8.0 > End-to-end paths > Web services - RESTful services > Use WADL to generate service documentation
Previous Step Next Step
Use WADL to generate service documentation.
Step 4: Use WADL to generate service documentation JAX-WSWe can also build your own WADL document by using the org.apache.wink.common.model.wadl.WADLGenerator. WADLGenerator builds a Java Architecture for XML Binding (JAXB) annotated object model so you can easily return it as an entity response in an @OPTIONS resource method as the response entity.
Configure the JAX-RS application.
Procedure
- Serving a WADL document for your resources
Use this method to serve a WADL service document for the application from a developer defined URL.
- Disable generation of WADL documents for HTTP OPTIONS requests
Use this method if you do not want to serve any WADL document information from an HTTP OPTIONS request.
Support information (generally applicable)
- Serving a WADL document for your resources
- Disable generation of WADL documents for HTTP OPTIONS requests
What to do next
Assemble JAX-RS web applications.
Previous Step Next Step