XSD to WSDL

Name

xsd2wsdl - uses a xsd (schema file) to generate a WSDL file.

Synopsis

xsd2wsdl [-?|-help|-h][-o <output-file>][-n <wsdl-name>][-t <target-namespace>][-v][-verbose|-quiet][-d <output-directory>] { xsdurl }

Description

xsd2wsdl uses a xsd (schema file) to generate a WSDL file.

Options

The options used to validate WSDL file are reviewed in the following table.

Option

Interpretation

-?,-h,-help

Displays the online help for this utility and exits.

-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.

Example

xsd2wsdl -t http://org.apache/invoice -n Invoice Invoice.xsd

See Also

idl2wsdl, java2js, java2ws, wsdl2corba, wsdl2java, wsdl2js, wsdl2service, wsdl2soap, wsdl2xml and wsdlvalidator.