Browse Prior Art Database

A GUI for Building Web Services from Existing Host Programs

IP.com Disclosure Number: IPCOM000015928D
Original Publication Date: 2002-Jun-01
Included in the Prior Art Database: 2003-Jun-21
Document File: 2 page(s) / 45K

Publishing Venue

IBM

Abstract

A software tool is disclosed that can be used to extend existing iSeries host programs written in languages such as RPG or COBOL, as Web services without extra coding effort.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 56% of the total text.

Page 1 of 2

A GUI for Building Web Services from Existing Host Programs

A software tool is disclosed that can be used to extend existing iSeries host programs written in languages such as RPG or COBOL, as Web services without extra coding effort.

The program provides an Eclipse-based GUI Wizard to capture iSeries® host program definitions in Program Call Markup Language (PCML) and also has the capability to import existing PCML files. The program provides for the generation of user-application specific runtime Java® beans and also provides runtime-support classes for integration of iSeries host programs to the Web service environment.

At development time a Program Call Wizard captures the definitions of iSeries host programs and generates the PCML files. The PCML files are analyzed and service connector Javabeans are generated. The service connector Javabeans act as input Javabeans to a Web Services Development Language (WSDL) generator such as exists in the Web Services Wizard of IBM® Websphere® Studio Application Developer. At runtime, these service connector Javabeans also act as an integrator between the Web services runtime and the iSeries host program.

For each iSeries host program the program tool uses two methods to generate two WSDL Web service entries. The purpose of generating two methods for each host program is to support two different return types. One method returns the result in a Javabean and the other returns the result in an XML string. The user has the option to decide which method or both to publish.

All the input parameters for the host programs are mapped to parameters for use in each method. All the output parameters of the host programs are mapped to the two types of return method types.

For the first type, a Javabean encapsulates all the output parameters of the host programs. An extra Javabean is generated if structure is defined for an output parameter. For iSeries host program an output parameter can also be a structure which contains parameter(s). For example,

ProgramA --|-- Field1

|-- Field2

|-- Field3 ---|--- Field4 // Field3 is a structure containing Field4 and Field5

|--- Field5

Thus, an additional Javabean for Field3 will be generated as output to capture the information for Field4 and Field5 which can...