Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "WSI Test Plan"

 
(4 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
<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>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>
 
<li> <b>Done!</b></li>
 +
</ol>
 
----
 
----
 +
 
<h3>Test Case 2 : Validating a WSDL with MIME attachments</h3>
 
<h3>Test Case 2 : Validating a WSDL with MIME attachments</h3>
 
<ol>
 
<ol>
<li>Create or download a WS-I compliant wsdl with MIME attachments in your wokspace.</li>
+
<li>Create or download a WS-I compliant wsdl with MIME attachments in your workspace.</li>
<li>Set the level of compliance for the Attachments Profile in the workspace to <i>required</i>.
+
<li>Set the level of compliance for the Attachments Profile in the workspace to <i>required</i>. Ensure that the level of compliance in the project is set to <i>follow preference</i>.
 
         (For information on setting the level of WS-I compliant for the workspace or for a project see
 
         (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]).
 
[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]]
 
[[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.</li>
<br>[[image:WsiCompliantCase.jpg]]<br></li>
+
<li>Reset the workspace compliance level to <i>required</i> against the WS-I Simple SOAP Binding Profile instead of the Attachments Profile.</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 with the following description: [[image:WsiAP2403ErrorCase.jpg]]
<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>
<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>
 
<li> <b>Done!</b></li>
 +
</ol>
 
----
 
----

Latest revision as of 11:44, 27 July 2006


WS-I Component Test Plan

http://www.eclipse.org//webtools/images/wtplogosmall.jpg

  Task Oriented Tests

Test Case 1 : Validating a WSDL File

  1. Download the following WS-I compliant wsdl into your workspace: Fax.
  2. 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). Wsipreference.png
  3. Validate the wsdl. The wsdl should be valid with no errors or warnings.
    WsiCompliantCase.jpg
  4. Now, edit the wsdl using the WSDL editor, changing the SOAP binding from "document literal" to "rpc encoded". Save and exit the editor.
  5. Validate the wsdl. There should now be an error associated with the file.
    WsiErrorCase.jpg
    The description of the error should be: WsiBP2406ErrorCase.jpg
  6. Reset the level of compliance in the workspace to suggest.
  7. Validate the wsdl. There should now be a warning associated with the file.
    WsiWarningCase.jpg
    The description of the error should be the same.
  8. Reset the level of compliance in the workspace to ignore.
  9. Validate the wsdl. The wsdl should be valid with no errors or warnings.
  10. 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.
  11. Reset the level of compliance for the Simple SOAP Binding Profile in the workspace to required.
  12. Set the level of compliance in the appropriate project to required from follow preference. Wsiprojectpreference.jpg
  13. Validate the wsdl. There should now be an error associated with the file.
  14. Reset the level of compliance in the project to suggest.
  15. Validate the wsdl. There should now be a warning associated with the file.
  16. Reset the level of compliance in the project to ignore.
  17. Validate the wsdl. The wsdl should be valid with no errors or warnings.
  18. Reset the level of compliance in the workspace to ignore. Repeat steps 12 through 17. All results should be the same.
  19. Done!

Test Case 2 : Validating a WSDL with MIME attachments

  1. Create or download a WS-I compliant wsdl with MIME attachments in your workspace.
  2. Set the level of compliance for the Attachments Profile in the workspace to required. Ensure that the level of compliance in the project is set to follow preference. (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). WsiAPpreference.jpg
  3. Validate the wsdl. The wsdl should be valid with no errors or warnings.
  4. Reset the workspace compliance level to required against the WS-I Simple SOAP Binding Profile instead of the Attachments Profile.
  5. Validate the wsdl. There should now be an error with the following description: WsiAP2403ErrorCase.jpg
  6. Done!

Back to the top