W3C home > Mailing lists > Public > www-ws-desc@w3.org > February 2005

Test Suite Update

From: Lawrence Mandel <lmandel@ca.ibm.com>
Date: Wed, 16 Feb 2005 17:52:14 -0500
To: www-ws-desc@w3.org
Message-ID: <OF61BAC377.D5707B18-ON85256FAA.007CD6D4-85256FAA.007DA334@ca.ibm.com>
I've created some more test cases for the WSDL 2.0 test suite. These test 
cases show valid and invalid uses of the service and endpoint elements by 
exercising different options with the service name and interface 
attributes and documentation element, and the endpoint name, binding, and 
address attributes, and documentation element.

<wsdl:service name="EchoService" interface="tns:EchoInterface">
      <wsdl:documentation>
        The Echo service.
      </wsdl:documentation>
      <wsdl:endpoint
          name="SOAPEndpoint" 
          binding="tns:EchoSOAPBinding"
          address="http://www.example.com/services/EchoService"/>
  </wsdl:service>

For example, the interface attribute is specified as
1) interface="tns:EchoInterface"
2) interface="EchoInterface"
3) interface="tns:WrongEchoInterface"
4) interface=""
5)  is omitted all together.

Similar tests are performed for the name attributes and the binding and 
address attributes. The presence, absence, and position of the 
documentation and endpoint elements are tested as well.

This patch contains 3 valid and 16 invalid tests.



Lawrence Mandel

Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
lmandel@ca.ibm.com

Received on Wednesday, 16 February 2005 22:52:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:35 GMT