| Apache CXF Documentation > Index > Tools > WSDLValidator |
wsdlvalidator -d <schema-directory> -s <schema-url>* -w
-h -v -verbose -quiet <wsdlurl>
The wsdlvalidator validates whether a wsdl file or wsdl url is well-formed and schema conformed.
wsdlvalidator HelloWorld.wsdl
wsdlvalidator -s http://cxf.apache.org/schemas
-s http://mycompany/schemas
Greeting.wsdl
The arguments used to validate WSDL file are reviewed in the following table.
| Option | Interpretation |
|---|---|
| -? | Displays the online help for this utility. |
| -help | Displays the online help for this utility. |
| -h | Displays the online help for this utility. |
| -d <schema-directory> | Specifies the directory used to search for schemas |
| -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 | Displays the version number for the tool. |
| -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 |
| wsdlurl | The path and name of the WSDL file to use in generating the code. |
You must specify the absolute or relative path to the WSDL document as the last argument.