To execute the JWSDL TCK against your JWSDL implementation, you must
run the JWSDLTestSuite
while specifying the fully-qualified
class name of your javax.wsdl.factory.WSDLFactory
implementation.
The name of your WSDLFactory
implementation is specified via a
system property named javax.wsdl.factory.WSDLFactoryCandidate
.
Notes: The test suite must be executed from the root
directory of the extracted archive
(e.g. /jwsdltck-1_2/
). Also, during the course of
execution the test suite needs to be able to read and write a
properties file to the jre/lib
directory of your JDK. Therefore,
please ensure that any necessary permissions are set prior to execution.
Once the tests are completed, any properties file that was disturbed
will be restored, and any properties file that was created will be removed.
For example, to run the JSR's reference implementation, WSDL4J, through the test suite, you would execute the following statement:
java -Djavax.wsdl.factory.WSDLFactoryCandidate=com.ibm.wsdl.factory.WSDLFactoryImpl com.ibm.wsdl.tck.JWSDLTestSuite
To be considered compliant with the JWSDL specification, your implementation must pass every test in the suite; that is, there must be 0 failures and 0 errors. The execution and output would appear similar to the following:
c:\jwsdltck-1_2>java -Djavax.wsdl.factory.WSDLFactoryCandidate=com.ibm.wsdl.factory.WSDLFactoryImpl com.ibm.wsdl.tck.JWSDLTestSuite ......................................... ......................................... ......................................... ......... Time: 2.674 OK (132 tests)
Author: Matthew J. Duftler