| 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 | 
|  | 
OverviewRequirements
	Web Service Test Extensibility Conceptual DesignDetailed 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 facilitylabel - a translatable label which will be displayed to the usericon - a relative path of an icon that can be displayed with the labeldescription - a short translatable descriptiontestWSDL - "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 typeruntimeId - id of a Web service runtime testFacilityLauncher
    id - a unique identifier used to reference this Web service test facility launcherlabel - a translatable label which will be displayed to the usericon - a relative path of an icon that can be displayed with the labeldescription - a short translatable descriptiontestFacilityId - the id of the Web service test facility that this launcher can launchclass - 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.
 |