This topic explains how to configure and apply the WS-I tool in SOAtest and Virtualize. This tool checks WSDL conformance to WS-I's Basic Profile 2.0 (for SOAP 1.2), 1.2 (for SOAP 1.1) or 1.1 (also for SOAP 1.1). It can also be added to the Traffic Object output of a SOAP Client for validating SOAP message conformance. This tool requires a validate license.
Sections include:
Table of Contents | ||
---|---|---|
|
...
You can customize the following options for all configurations:
- WSDL: Specifies the WSDL you would like to check.
- Profile: Specifies which Basic Profile you want to check conformance to.
...
When checking WS-I Basic Profile 1.1 + SSBP 1.0, you can customize the following options:
- -wsdlElement: The wsdlElement fields (parent, name, namespace, type) automatically populate after entering a valid WSDL in the wsdlURI field and pressing Enter ENTER on your keyboard.
- assertionResults: Specifies the type of assertion results that should appear in the conformance report. The valid options available in the assertionResults drop-down menu are as follows:
- all: Lists the results from all test assertions.
- notPassed: Lists all of the assertion test results except the ones that have a result of
passed
. - onlyFailed: Lists only the test assertion results which have a result of
failed.
- failureMessage: Specifies whether or not the pre-defined Basic Profile 1.1 error messages for each test assertion are included in the conformance report. If this box option is unselectednot enabled, the pre-defined error messages will not display in the conformance report. If this box option is selectedenabled, the pre-defined error messages will display in the conformance report.
- failureDetail: Specifies whether or not error detail messages that are specific to your WSDL or SOAP artifacts are included in the conformance report. If this box option is unselectednot enabled, the error detail messages will not display appear in the conformance report. If this box option is selectedenabled, the error detail messages will display appear in the conformance report.
...
The WS-I tool produces an output file that contains the conformance report for the Web service corresponding to the WSDL you entered. This conformance report displays the test results for the assertions that have been processed. Also, the conformance report displays the conformance level for each test assertion that was processed , and may list detailed information for any errors that were encountered. The report also contains a summary of the test assertions results that indicate if the Web service passed or failed the conformance test.
...
- Right-click the WS-I test node and select choose Add Output from the shortcut menu. The Add Output dialog displaysopens. Select Conformance Report from the left pane and Browse from the right pane and , then click Finish. After you run the WS-I test, a browser window will open and display a WS-I Profile Conformance Report.
- Right-click the WS-I test node and select choose Add Output from the shortcut menu. The Add Output dialog displaysopens. Select Conformance Report from the left pane and Edit from the right pane and , then click Finish. After you run the WS-I test, the WS-I Profile Conformance Report displays in the right GUI panel.
...