[8.5.5.4 or later]

wadl2java command

Use the wadl2java command to generate Java™ API for RESTful Web Services (JAX-RS) resources from a Web Application Description Language (WADL) file in a web service application.

Important: Applicable to Liberty
The command has the same function as the Generate JAX-RS Service from WADL dialog.

Syntax

wadl2java.bat -p <package_name> -resource <name_of_generated_code> -d <output_direcxtory> -impl

Options

-p
Specifies the Java package of the generated code.
-resource
Specifies the simple class name to use for the generated code.
-d
Specifies the output directory for the generated JAX-RS resource.
-impl
Specifies that a dummy service implementation is generated. This option is implicitly turned on in the wizard.
Icon that indicates the type of topic Reference topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: r_jaxrs_wadl_cmd.html