Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "WSI Test Plan"
Line 17: | Line 17: | ||
[http://help.eclipse.org/help32/topic/org.eclipse.jst.ws.doc.user/tasks/twsicomply.html| Setting the level of WS-I compliance]). | [http://help.eclipse.org/help32/topic/org.eclipse.jst.ws.doc.user/tasks/twsicomply.html| Setting the level of WS-I compliance]). | ||
[[image:Wsipreference.png]] | [[image:Wsipreference.png]] | ||
+ | </li> | ||
+ | <li>Validate the wsdl. The wsdl should be valid with no errors or warnings. | ||
+ | <br>[[image:WsiCompliantCase.jpg]]<br></li> | ||
+ | <li>Now, edit the wsdl using the WSDL editor, changing the SOAP binding from "document literal" to "rpc encoded". Save and exit the editor. | ||
+ | <li>Validate the wsdl. There should now be an error associated with the file.<br>[[image:WsiErrorCase.jpg]]<br> The description of the error should be: [[image:WsiBP2406ErrorCase.jpg]] | ||
+ | </li> | ||
+ | <li>Reset the level of compliance in the workspace to <i>suggest</i>.</li> | ||
+ | <li>Validate the wsdl. There should now be a warning associated with the file.<br>[[image:WsiWarningCase.jpg]]<br> The description of the error should be the same.</li> | ||
+ | <li>Reset the level of compliance in the workspace to <i>ignore</i>.</li> | ||
+ | |||
+ | <li>Validate the wsdl. The wsdl should be valid with no errors or warnings.</li> | ||
+ | <li>Repeat steps 2 through 9 validating against the WS-I Attachments Profile instead of the Simple SOAP Binding Profile. All results should be the same.</li> | ||
+ | <li>Reset the level of compliance for the Simple SOAP Binding Profile in the workspace to <i>required</i>. | ||
+ | <li>Set the level of compliance in the appropriate project to <i>required</i> from <i>follow preference</i>. | ||
+ | [[image:Wsiprojectpreference.jpg]] | ||
+ | <li>Validate the wsdl. There should now be an error associated with the file.</li> | ||
+ | <li>Reset the level of compliance in the project to <i>suggest</i>.</li> | ||
+ | <li>Validate the wsdl. There should now be a warning associated with the file.</li> | ||
+ | <li>Reset the level of compliance in the project to <i>ignore</i>.</li> | ||
+ | <li>Validate the wsdl. The wsdl should be valid with no errors or warnings.</li> | ||
+ | <li>Reset the level of compliance in the workspace to <i>ignore</i>. Repeat steps 12 through 17. All results should be the same.</li> | ||
+ | <li> <b>Done!</b></li> | ||
+ | ---- | ||
+ | <h3>Test Case 2 : Validating a WSDL with MIME attachments</h3> | ||
+ | <ol> | ||
+ | <li>Create or download a WS-I compliant wsdl with MIME attachments in your wokspace.</li> | ||
+ | <li>Set the level of compliance for the Attachments Profile in the workspace to <i>required</i>. | ||
+ | (For information on setting the level of WS-I compliant for the workspace or for a project see | ||
+ | [http://help.eclipse.org/help32/topic/org.eclipse.jst.ws.doc.user/tasks/twsicomply.html| Setting the level of WS-I compliance]). | ||
+ | [[image:WsiAPpreference.jpg]] | ||
</li> | </li> | ||
<li>Validate the wsdl. The wsdl should be valid with no errors or warnings. | <li>Validate the wsdl. The wsdl should be valid with no errors or warnings. |
Revision as of 11:14, 27 July 2006
|
Task Oriented Tests |
Test Case 1 : Validating a WSDL File
- Download the following WS-I compliant wsdl into your workspace: Fax.
- Set the level of compliance for the Simple SOAP Binding Profile in the workspace to required. (For information on setting the level of WS-I compliant for the workspace or for a project see Setting the level of WS-I compliance).
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Now, edit the wsdl using the WSDL editor, changing the SOAP binding from "document literal" to "rpc encoded". Save and exit the editor.
- Validate the wsdl. There should now be an error associated with the file.
The description of the error should be: - Reset the level of compliance in the workspace to suggest.
- Validate the wsdl. There should now be a warning associated with the file.
The description of the error should be the same. - Reset the level of compliance in the workspace to ignore.
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Repeat steps 2 through 9 validating against the WS-I Attachments Profile instead of the Simple SOAP Binding Profile. All results should be the same.
- Reset the level of compliance for the Simple SOAP Binding Profile in the workspace to required.
- Set the level of compliance in the appropriate project to required from follow preference.
- Validate the wsdl. There should now be an error associated with the file.
- Reset the level of compliance in the project to suggest.
- Validate the wsdl. There should now be a warning associated with the file.
- Reset the level of compliance in the project to ignore.
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Reset the level of compliance in the workspace to ignore. Repeat steps 12 through 17. All results should be the same.
- Done!
- Create or download a WS-I compliant wsdl with MIME attachments in your wokspace.
- Set the level of compliance for the Attachments Profile in the workspace to required. (For information on setting the level of WS-I compliant for the workspace or for a project see Setting the level of WS-I compliance).
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Now, edit the wsdl using the WSDL editor, changing the SOAP binding from "document literal" to "rpc encoded". Save and exit the editor.
- Validate the wsdl. There should now be an error associated with the file.
The description of the error should be: - Reset the level of compliance in the workspace to suggest.
- Validate the wsdl. There should now be a warning associated with the file.
The description of the error should be the same. - Reset the level of compliance in the workspace to ignore.
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Repeat steps 2 through 9 validating against the WS-I Attachments Profile instead of the Simple SOAP Binding Profile. All results should be the same.
- Reset the level of compliance for the Simple SOAP Binding Profile in the workspace to required.
- Set the level of compliance in the appropriate project to required from follow preference.
- Validate the wsdl. There should now be an error associated with the file.
- Reset the level of compliance in the project to suggest.
- Validate the wsdl. There should now be a warning associated with the file.
- Reset the level of compliance in the project to ignore.
- Validate the wsdl. The wsdl should be valid with no errors or warnings.
- Reset the level of compliance in the workspace to ignore. Repeat steps 12 through 17. All results should be the same.
- Done!