Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

wsdlvalidator -s http://cxf.apache.org/schemas -s http://mycompany/schemas Greeting.wsdl

Options

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

Option

Interpretation

-s <schema-url>

Specifies the URL of a user specific schema to be included in the validation of the contract. This switch can appear multiple times.

-V,-verbose

Displays comments during the code generation process.

-quiet

Suppresses comments during the code generation process.

-w

Suppress warnings, if you want to validate logical wsdl(no service/bindings), you have to turn on this option

wsdl-url

The path and name of the WSDL file to use in generating the code.

...

.

-?,-h,-help

Displays the online help for this utility and exits.

-v

Displays the version number for the tool.

You must specify the absolute or relative path to the WSDL document as the last argument.

Ant usage

To execute the wsdlvalidator tool using Ant set the Java task's classname property to
org.apache.cxf.tools.validator.WSDLValidator.