 | Level: Intermediate Nicholas Chase (ibmquestions@nicholaschase.com), Freelance writer, Backstop Media
15 May 2006 The current emphasis on Service-Oriented Architectures (SOA) has put the spotlight on Web services, but it's easy to get lost in all the information being bandied about. This first in a series of tutorials on the major Web services specifications describes the basic concepts of Web services and SOAP. You'll learn how to build a SOAP server and client. In this tutorial
This tutorial series gives you the straight story on the major Web service specifications, starting with Simple Object Access Protocol (SOAP) and working down to WS Business Process Execution Language (WS-BPEL). You'll learn the basic concepts of Web services by following the exploits of the fictional newspaper, the Daily Moon, as the staff uses Web services to create a workflow system to increase productivity in these turbulent times. This first installment explains Web services and how to use SOAP. It covers the specification that underlies most of what is to come, connecting the Daily Moon classifieds department with the Content Management System.
Prerequisites
You should have a basic understanding of programming, and, if you want to follow along with the actual programming examples, a grasp of Java.
System requirements
In order to follow along with the code for this tutorial, you will need to have the following software available:
- Apache Geronimo or another application server. In this tutorial, we will demonstrate the installation and use of Apache Geronimo, which is also the basis for IBM® WebSphere® Community Edition. You can also use other application servers such as WebSphere Application Server. You can obtain Apache Geronimo from the Apache Geronimo Downloads site .
- Apache Axis2 or another SOAP implementation. You can download Apache Axis2 at: Apache.org. This tutorial uses version 0.94, but later versions should also work.
- Java™ 2 Standard Edition version 1.4 or higher. Both of these tools are Java-based, as are the services and clients you'll build in this tutorial. You can download the J2SE SDK from the Sun Developer Network.
- A Web browser and a text editor.
Formats html, pdf
Objectives
During the course of this tutorial, you will learn the following:
- The basic concepts of Web services
- The basics of XML
- The structure and purpose of a SOAP message
- How to install an application server on which to run your Web service applications.
- How to install a Web services implementation into an application server
- How to programmatically create a SOAP message.
- How to create a client for a SOAP-based web service using Java and Apache Axis2
- How to create a SOAP-based web service Java and Apache Axis2
|  | |  |