# Tutorial: Web Services

## The Big Picture

The web service tutorial is the second in a series of three tutorials, which builds the Investigate Application. The Investigate Application is designed to assemble a credit-worthiness report on loan applicants. (Note: you do not need to execute the tutorial series in order. You may proceed with this tutorial, even if you have not completed the previous tutorial in the series. Or you may skip ahead to the next tutorial in the series if you wish.)

The first tutorial in the series, the Tutorial: Java Control, builds the core of the application: the Investigate Java control, which consults a variety of components to compile the credit-worthiness report.

This, the second tutorial in the series, builds the web services tier of the application. You will build two web service access points to the functionality encapsulated by the Investigate Java control. These two web service access points are shown in blue in the diagram to the right.

The third tutorial in the series, the Tutorial: Page Flow, builds a web-based user interface for the Investigate Application.

## Tutorial Goals

This tutorial will teach you how to create and test a web service with WebLogic Workshop. Along the way, you will also learn how to create methods that expose a service's functionality, become acquainted with WebLogic Workshop's support for asynchronous communication and loose coupling, and learn how controls speed the design process.

## Tutorial Overview

### Steps in This Tutorial

Step 1: Begin the Investigate Web Service — 20 minutes

In this step you build and run your first WebLogic Workshop web service. You start WebLogic Workshop and WebLogic Server, then create a web service that has a single method.

Step 2: Add Support for Asynchronous Communication — 20 minutes

You will work around a problem inherent in communication across the web: the problem of network latency. Network latency refers to the time delays that often occur when transmitting data across a network.

Step 3: Add Support for Synchronous Communication — 20 minutes

You add support for clients that cannot hear callbacks.

Step 4: Add Support for XML Mapping — 25 minutes

You will add an XML transformation to your web service.

Step 5: Add a Script for XML Mapping — 15 minutes

Modify the XML transformation with a call to a script file.

Step 6: Web Service Security — 20 minutes

You secure your web services with SSL and web service security (WSSE security).

Summary: Web Service Tutorial

You review the concepts and technologies covered in the tutorial. This step provides additional links for more information about each area covered.

To begin the tutorial, see Step 1: Begin the Investigate Web Service.

Click the arrow to navigate to the next step.