Web Service Test Framework
JST Web Services Design Documents
WTP LogoWTP Home
Credits
 
Enhancement Bugzilla # 110988
Version 1.0 Draft
Last Updated 2005.10.04
Target Release WTP 1.0
Target Milestone M9
Contributors Gilbert Andrews
Chris Brealey
Kathy Chan
Joan Haggarty
Rupam Kuehner
Peter Moogk
Seng Phung-Lu
Index
 
  1. Overview
  2. Requirements
    1. Web Service Test Extensibility
  3. Conceptual Design
  4. Detailed Design
1.0 - Overview
 

Extenders of WTP can contribute Web service and Web service client test facilities. The goal of this document is to present a high level design of the Web serivce test framework that enables this extensibility

2.0 - Requirements
Web Service Test Extensibility
 

Extenders of WTP can contribute Web service and Web service client test facilities.

3.0 - Conceptual Design
 

Once a Web service or Web service client has been created, the user has the option of testing it using a test facility contributed via the org.eclipse.wst.ws.testFacilities extension point.

Extension XML for the Sample JSP test facility:

<extension point="org.eclipse.wst.ws.testFacilities">
  <testFacility
    id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest"
    label="%SAMPLE_TYPE_WEBSERVICES_ID"
    icon="./icons/WebServiceSampleTest.gif"
    description="%SAMPLE_TYPE_WEBSERVICES_DESC"
    supportsWSDL="false"
    class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.GSTCWebServiceTester">
  
    <clientRuntime
      clientImplementationTypeId="org.eclipse.jst.ws.client.type.java"
      runtimeId="org.eclipse.jst.ws.axis.axis12" />
    
  </testFacility> 
</extension>

<extension point="org.eclipse.wst.ws.testFacilities">
  <testFacilityLauncher
    id="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTestLauncher"
    label="%SAMPLE_TYPE_LAUNCHER_WEBSERVICES_ID"
    icon="./icons/WebServiceSampleTestLauncher.gif"
    description="%SAMPLE_TYPE_WEBSERVICES_LAUNCHER_DESC"
    testFacilityId="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WebServiceSampleTest"
    class="org.eclipse.jst.ws.internal.consumption.ui.widgets.test.wssample.GSTCWebServiceTestFacilityLauncher"/>  
</extension>

  • testFacility
    • id - a unique identifier used to reference this Web service test facility
    • label - a translatable label which will be displayed to the user
    • icon - a relative path of an icon that can be displayed with the label
    • description - a short translatable description
    • testWSDL - "true" if this test facility can test a Web service with only the WSDL as input. "false" otherwise.
    • class - the fully qualified name of a class which implements IWebServiceTestFacility and has a zero argument constructor.
    • clientRuntime (0 or more) - combination of client implementation type and runtime that this test facility supports. if no clientRuntimes are specified, support for all combinations is assumed.
      • clientImplementationTypeId - id of a Web service client implementation type
      • runtimeId - id of a Web service runtime
  • testFacilityLauncher
    • id - a unique identifier used to reference this Web service test facility launcher
    • label - a translatable label which will be displayed to the user
    • icon - a relative path of an icon that can be displayed with the label
    • description - a short translatable description
    • testFacilityId - the id of the Web service test facility that this launcher can launch
    • class - the fully qualified name of a class which implements IWebServiceTestFacilityLauncher and has a zero argument constructor.



4.0 - Detailed Design
 

Write any detailed, internal design material here.