The WS-I Validator can be used to check your WSDL definitions against
the Basic Profile.
The World Wide Web Consortium (W3C) standards for Web services allow for
more than one interpretation, and the Web services Interoperability Organization
(WS-I) introduced a separate standard, called the Basic Profile, to tighten
up the use of Web services. For example, the WS-I Basic Profile does not allow
the use of SOAP encoding.
For more information about the WS-I Basic Profile refer to the WS-I, and
in particular the WS-I Basic Profile document:
You can use the WS-I Validator to check your WSDL definitions against the
Basic Profile. You can run the validator in either of the following ways:
- Manually against a specific .wsdl resource in the workbench.
This option enables you to investigate and fix any WS-I compliance problems.
Any validation issues are displayed as task list errors and warnings. The
behavior of the validator can be controlled under .
- Automatically by using either of the following methods:
- Importing a WSDL definition using either the WSDL Importer wizard
or the mqsicreatemsgdefsfromwsdl command.
- Generating the WSDL definition using the WSDL Generator wizard.
In this case errors are displayed and also written to a report file.
You can set a validation failure action to control the outcome of the validation
by using the following settings:
- ignore
- Warnings from the WS-I validator are written to the log file as informational.
You must view the log file to retrieve the messages. You can continue with
the process.
- warn
- Warnings from the WS-I validator are written to the log file as warnings.
Any messages that generate a warning are highlighted with yellow symbols on
the next panel of the wizard. You can continue with the process.
- fail
- Warnings from the WS-I validator are written to the log file as errors.
Any messages that generate an error are highlighted with red symbols on the
next panel of the wizard. You cannot continue with the process until the errors
in the original WSDL definition are corrected and the WSDL definition is revalidated.
Note: You must set the failure action to warn or ignore if you
want to use features which are not WS-I compliant such as SOAP encoding.