Versions Compared

Key

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

Synopsis

No Format

 wsdlvalidator -d <schema-directory> -s <schema-url><_schema-url_>* -w
               -h [-?|-h|-help] -v [-V|-verbose] -quiet <wsdlurl><wsdl-url>

Description

The wsdlvalidator validates whether a wsdl file or wsdl url WSDL document is well-formed and schema conformed as noted by the following checks.

  • Check the WSDL document for XML well-formedness
  • Validate the WSDL document against its XML schema.
  • Validate the WSDL document using some of the semantic rules defined in the WSDL specification.
  • Validate the WSDL document against custom validation rules, such as those defined by the Web Services Interoperability (WS-I) organization (i.e. WS-I Basic Profile rules).
  • Validate the WSDL against strange exceptions, incorrectly generated code and general bad WSDL issues.

Example

wsdlvalidator HelloWorld.wsdl

...

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

Using Ant

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