| Apache CXF Documentation > Index > Tools > XSD to WSDL |
xsd2wsdl [-?|-help|-h][-o <output-file>][-n <wsdl-name>][-t <target-namespace>][-v][-verbose|-quiet][-d <output-directory>] { xsdurl }
xsd2wsdl uses a xsd (schema file) to generate a WSDL file.
xsd2wsdl -t http://org.apache/invoice
-n Invoice Invoice.xsd
The arguments used to manage the WSDL file generation are reviewed in the following table.
| Option | Interpretation |
|---|---|
| -? | Displays the online help for this utility. |
| -help | |
| -h | |
| -o | Specifies the name of the generated WSDL file. |
| -n | The name of generated wsdl. |
| -t | Specifies the target namespace to use in the generated WSDL file. |
| -v | Displays the version number for the tool. |
| -verbose | Displays comments during the code generation process. |
| -quiet | Suppresses comments during the code generation process. |
| -d | The directory in which the output files are placed. |
| xsdurl | Specifies the xsd url. |
You must include the xsdurl argument. All other arguments are optional.