Test Suite Update

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 UTC