Skill Level: Intermediate John Robertson Staff Software Engineer IBM Fiona Lam Software Engineer IBM Yaqian Fang Software Engineer IBM Angela Baird Angela Baird IBM Elena Nossova Analyst/Programmer Independent
18 Sep 2009 Use the Eclipse Integrated Development Environment (IDE) and Java Platform, Standard Edition (Java SE) 6 to create a scnt applications and then run the applications from the command line.
Part 2: The Web service client application © Copyright IBM Corporation 2009. All rights reserved.
Trademarks Page 1 of 27
developerWorks®
ibm.com/developerWorks
Section 1. Before you start
About this series
This tutorial series demonstrates how to create a stand-alone Web services server and client application that you can easily run from the command line with Java SE 6 rather than from within web application server containers. Using a simple Hello World example, you will leverage the Eclipse IDE, Java SE 6, and Apache Ant to easily create fully functioning Web services server and client applications. You will also use the TCP/IP Monitor to examine the communication traffic between the server and client, and use the Eclipse Web Services Explorer tool to test the Web Service.
About this tutorial
This tutorial, Part 2 of the series, describes the creation of a stand-alone Web service client application to communicate with the stand-alone Web service you developed and deployed in Part 1. You will be taken step-by-step through the development and deployment of the Web service client application using the Eclipse IDE, Java SE 6 and Ant.
Objectives
After completing this tutorial you should know: • How to create the client side of a Web service, using the Eclipse IDE to generate and compile the code using Java SE 6. • How to use the Ant Java-based build tool within the Eclipse IDE to run a special Java command to generate some