WSDL validation
The WS-I Validator can be used to check your WSDL definitions against the Basic Profile.
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; see WS-I Basic Profile Version 1.1.
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 WS-I compliance problems; all validation issues are displayed as task list errors and warnings.
- Automatically, when WSDL is imported or generated.
You can import WSDL definitions by using the Message Model wizard.
You can control the behavior of the validator by setting
a compliance level for your profile.
- Select .
- Click Service Policies, and expand Profile Compliance.
- Select one of the following profiles:
- WS-I AP compliance level (WS-I Attachments Profile 1.0)
- WS-I SSBP compliance level (WS-I Simple SOAP Binding Profile 1.0)
- Select a compliance level:
- Select Suggest compliance to run the validator with errors treated as unrecoverable, but warnings only notified. This is the default setting.
- Select Require compliance to run the validator with errors and warnings treated as unrecoverable.
- Select Ignore compliance if you do not want to run the validator.
The AP selection applies automatically to the SSBP field, therefore Ignore is not explicitly selectable unless the AP selection is set to Ignore.
The following terms refer to the three broad categories
of WSDL definition:
document-literal
means the combinationstyle="document"
anduse="literal"
rpc-literal
means the combinationstyle="rpc"
anduse="literal"
rpc-encoded
means the combinationstyle="rpc"
anduse="encoded"
The following are typical validation problems using the
preceding terminology:
Web service interoperability is improved if you implement
the following actions:
- Use document-style WSDL whenever possible.
- Use literal encoding, if rpc-style WSDL is necessary.
- Ensure that the WSDL operation definitions are qualified by a valid namespace attribute, if rpc-encoded WSDL must be used.