Installation

Previous Next Contents

3 Installation

This chapter explains how to install the Java API for XML Web Services TCK software.

After installing the software according to the instructions in this chapter, proceed to Chapter 4, "Setup and Configuration," for instructions on configuring your test environment.

3.1 Obtaining the Reference Implementation

You can obtain the JAX-WS Reference Implementation (RI) (Java EE 8 RI) software from Java Licensee Engineering (https://javapartner.oracle.com).

3.2 Installing the Software

Before you can run the JAX-WS TCK tests, you must install and set up the following software components:

  • Java EE 8 RI or, at a minimum, a Web server with a Servlet container

  • Java SE 8

  • JAX-WS 2.3 RI, which is Java EE 8 RI

  • JAX-WS TCK version 2.3, which includes:

    • JDOM 1.0

    • Apache Commons HTTP Client 3.1

    • Apache Commons Logging 1.1.1

    • Apache Commons Codec 1.3

  • The JAX-WS 2.3 Vendor Implementation (VI)

Follow these steps:

  1. Install the Java SE 8 software, if it is not already installed.
    Download and install the Java SE 8 software from http://www.oracle.com/technetwork/java/javase/downloads/index.html. Refer to the installation instructions that accompany the software for additional information.

  2. Install the JAX-WS TCK 2.3 software.

    1. Copy or download the JAX-WS TCK software to your local system.
      You can obtain the JAX-WS TCK software from the Java Licensee Engineering (https://javapartner.oracle.com) Web site. The JAX-WS TCK software is located in the Web site’s Download Center area.

    2. Use the unzip command to extract the bundle in the directory of your choice:
      unzip jaxwstck-x.x_dd-Mmm-YYYY.zip
      This creates the TCK directory. The TCK is the test suite home, <TS_HOME>.

  3. Install the Java EE 8 RI software (the servlet Web container used for running the JAX-WS TCK with the JAX-WS 2.3 RI), if it is not already installed.
    Download and install the Servlet Web container with the JAX-WS 2.3 RI used for running the JAX-WS TCK 2.3, represented by the Java EE 8 RI. This software can be obtained from the Java Licensee Engineering Web site. Refer to any installation instructions that accompany the software for additional information.

  4. Install the Java EE 8 RI software which contains the JAX-WS 2.3 Reference Implementation or install the Standalone JAX-WS 2.3 RI software.
    The Java EE 8 RI software contains the JAX-WS 2.3 Reference Implementation and is used to validate your initial configuration and setup of the JAX-WS TCK 2.3, as well as to run the reverse tests which are explained further in Chapter 4, "Setup and Configuration" and Appendix B.
    The Standalone JAX-WS 2.3 RI software contains the JAX-WS 2.3 Reference Implementation and can be used with any web container that meets the minimum requirements for a container as defined in the JAX-WS 2.3 Specification such as the Apache Tomcat web container.
    If you use the Standalone JAX-WS 2.3 RI software with the Apache Tomcat web container, you need to copy the JAR files/classes from the standalone JAX-WS 2.3 RI software to the correct location under the Apache Tomcat web container. Assuming the Apache Tomcat web container is installed under ${tomcat.home}, you would copy the JAR files/classes as follows:

    cp jaxws-api.jar jaxb-api.jar ${tomcat.home}/common/endorsed
    
    cp commonj.sdo.jar eclipselink.jar FastInfoset.jar gmbal-api-only.jar \
        ha-api.jar javax.annotation-api.jar javax.persistence.jar \
        javax.xml.soap-api.jar jaxb-core.jar jaxb-impl.jar jaxb-jxc.jar \
        jaxb-xjc.jar jaxws-eclipselink-plugin.jar jaxws-rt.jar jaxwstck.jar \
        jaxws-tools.jar jsr181-api.jar mail.jar management-api.jar mimepull.jar \
        policy.jar resolver.jar saaj-impl.jar sdo-eclipselink-plugin.jar \
        stax2-api.jar stax-ex.jar streambuffer.jar tsharness.jar \
        woodstox-core-asl.jar ${tomcat.home}/shared/lib
    
    cp jaxwstck/lib/tsharness.jar jaxwstck/lib/jaxwstck.jar ${tomcat.home}/shared/lib

    If, instead of using Tomcat, you are using the Java EE 8 Reference Implementation, which already includes JAX-WS 2.3, you only need to copy the jaxwstck/lib/tsharness.jar and jaxwstck/lib/jaxwstck.jar TCK JAR files to the domain’s lib/ext directory.

  5. Install the JAX-WS 2.3 Reference Implementation.
    The Reference Implementation is used to validate your initial configuration and setup of the JAX-WS TCK 2.3 tests, which are explained further in Chapter 4, "Setup and Configuration."
    The JAX-WS RI can be obtained from Java Licensee Engineering (https://javapartner.oracle.com).

  6. Install a Web server on which the JAX-WS TCK test applications can be published for testing the VI.

  7. Install the JAX-WS Vendor Implementation (VI) to be tested.
    Follow the installation instructions for the particular VI under test.


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2018, Oracle and/or its affiliates. All rights reserved.