Jump to: navigation, search

WSI Test Plan

Revision as of 10:44, 27 July 2006 by Lauzond.ca.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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!