Web Services Tool-kits

There are many tool-kits available for developing Web Services clients or servers available for Java 1) 2). These fall into two broad categories:

  1. General purpose libraries which implement Web Services technologies (i.e. REST or SOAP)
  2. Service libraries which implement the client and/or server interface for a service type (e.g. OpenSearch 3)) or for a specific service.

A selection of libraries commonly used to access Web Services are listed below.

General Purpose

Java tool-kits which implement Web Services technologies:

Web Service Style Java Tool-kit
REST HttpComponents HttpClient
Innovation HTTPClient
Jakarta Commons HttpClient and
Jersey (JAX-RS)
SOAP Apache Axis
Apache Axis2/Java
Apache CXF
JAX-RPC Reference Implementation
JAX-WS Reference Implementation
WSO2 WSF/Spring

Note: When building a SOAP client the choice of Java tool-kit is often driven by compatibility with the Web Service(s) being used (e.g. RPC/encoded vs. Document/literal support), see SOAP Styles and the tutorials.

Client Libraries

Purpose built libraries for a type of service or a specific service, for example:

Web Service Type Java Tool-kit
OpenSearch OpenSearch plug-in for ROME




Knowledge of the following is required for these tutorials:

Web Services Tutorials Examples and Solutions

The examples and solutions for the exercises are available:

The download is based on the Eclipse project used to develop the tutorials. The files are explicitly referenced in the tutorials and links provided to the on-line versions. Eclipse is not required to work though the exercises, although you may find it useful, a text editor and a working Java installation are the only requirements.

To import the project into Eclipse:

  1. Download and install Eclipse
  2. Download the project
  3. Unpack the project into a working directory
  4. Import the project into Eclipse using “File” → “Import…”
    1. For “import source” select “General” → “Existing Projects into Workspace”
    2. Specify the working directory containing the project
    3. Select the project

Initially the project will contain errors due to some code generated as part of the exercises not being present. Additionally there may be some errors due to some of the Perl modules required by the scripts not being installed.

Web Services Tutorials

Tutorials on using a selection of popular Java modules to develop clients for Web Services:

Up Programming Web Services Contents Contents
tutorials/06_programming/java.txt · Last modified: 2013/08/01 08:38 by apc