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"

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


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 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). Wsipreference.png
  3. Validate the wsdl. The wsdl should be valid with no errors or warnings.
  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. Set 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.

Back to the top