 | Level: Intermediate Nicholas Chase (ibmquestions@nicholaschase.com)Backstop Media
07 Jul 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. In this second in a series of tutorials on the major Web services specifications you'll learn about Web Services Definition Language, and how to describe a Web service so others can easily create clients to access it from any programming language or platform.
In this tutorial
- This tutorial series teaches the basic concepts of Web services by following the exploits of a fictional newspaper, the Daily Moon, as the staff uses Web services to create a workflow system to increase productivity in these turbulent times.
- Part 1 of this series,
Understanding web services: SOAP explained Web services and how to use SOAP. It covered the specification that underlies most of what is to come, connecting the Daily Moon classifieds department with the Content Management System.
- In this second installment, the Classifieds Department takes things a step further, using Web Services Description Language (WSDL) to define the messages produced and expected by their own Web service, enabling the team to more easily create services and the clients that connect to them. The Classifieds Department will build a service that takes new ads, edits and displays existing ads, and finalizes an issue so that it no longer accepts any more ads. They will use both request/response and one-way messaging.
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:
Formats html, pdf
In this tutorial, you'll learn the following:
- Why WSDL files are important
- What you can do with WSDL files
- The basics of XML schema, which figure into WSDL files
- How to structure a WSDL file
- The basic differences between WSDL 1.1 and WSDL 2.0
- How to automatically generate a WSDL file from a Java class that represents a service
- How to generate a Java class that represents a service from a WSDL file
- How to generate a Web service client from a WSDL file
|  | |  |