Skip to main content

skip to main content

developerWorks  >  Rational  >

Add Web services to an IBM Rational HATS project in IBM Rational Developer for System i

developerWorks
Page 1 of 10 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
4080 KB (70 pages)

Get Adobe® Reader®


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


Level: Introductory

Meshach M Baptiste (meshach@us.ibm.com), IT Specialist, IBM

08 Jul 2008

Learn how to use IBM® Rational® Host Access Transformation Services (HATS) tools to create a Web service that exposes logic contained in an IBM® System i™ 5250 application.

Before you start

Learn what to expect from this tutorial and how to get the most out of it.

About this series

Important Note: Work through this scenario and others as part of the Enterprise Modernization Sandbox for IBM i.



Back to top


About this tutorial

This tutorial teaches you how to use IBM® Rational® Host Access Transformation Services (HATS) tools to create a Web service that exposes logic contained in an IBM® System i™ 5250 application. You will learn how to create a HATS project, record a macro to navigate through the screens of the transaction, generate a Java™Beans technology wrapper for the macro, and to create a Web service by using the tooling provided in the Rational Software Delivery Platform. After the Web service is built, you will learn how to use the Web Services Explorer to test the service.



Back to top


Objectives

  • Use the Rational HATS Toolkit to create a Web project capable of containing a Web service
  • Use the HATS Host Terminal to record a macro
  • Use the Visual Macro Editor to enhance a macro
  • Create an Integration Object Java™ class that drives the macro
  • Create a Web service that calls the Integration Object
  • Test the Web service in the Web Services Explorer


Back to top


Prerequisites

  • Basic IDE skills
  • Basic understanding of terminal applications


Back to top


System requirements

  • IBM Rational Application Developer Version 7.0.0.5 or later
  • IBM Rational Host Access Transformation Services (HATS) Version 7.1 with the Visual Macro Editor technology preview component
  • Internet connection


Back to top


Glossary

  • macro. Automates interactions with the host. Macros can send commands to the host, enter data into entry fields, extract data from the host, and be used to navigate screens on behalf of the user. Macros are created in either the HATS Host Terminal or the Visual Macro Editor.
  • Integration Object. A Java bean that encapsulates an interaction with a host screen or a series of host screens. Integration Objects are constructed from macros and can be included in Web services or HATS Enterprise JavaBeans (EJB) projects.
  • Web service. An operation that can be published, located, and invoked programmatically over the Web. A HATS Web service drives a HATS Integration Object, which invokes a HATS macro.


Back to top



Page 1 of 10 Go to the next page