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.
Difference between revisions of "WSI Test Plan"
Line 13: | Line 13: | ||
<ol> | <ol> | ||
<li>Download the following WS-I compliant wsdl into your workspace: [http://www.sms.mio.it/webservices/sendmessages.asmx?WSDL Fax].</li> | <li>Download the following WS-I compliant wsdl into your workspace: [http://www.sms.mio.it/webservices/sendmessages.asmx?WSDL Fax].</li> | ||
− | <li>Set the level of compliance for the Basic Profile and the Simple SOAP Binding Profile in the workspace to required. | + | <li>Set the level of compliance for the Basic Profile and the Simple SOAP Binding 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 | (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]). | ||
Line 20: | Line 20: | ||
<li>Validate the wsdl. The wsdl should be valid with no errors or warnings.</li> | <li>Validate the wsdl. The wsdl should be valid with no errors or warnings.</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>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>Set 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> | ||
---- | ---- |
Revision as of 10:28, 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 Basic Profile and 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: - Set 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.