fhs
Volume 7, Number 23 -- June 11, 2007

RPG Pro Rescues Project with WebSmart and Web Services

Published: June 12, 2007

by Robert Gast

What happens when an experienced RPG developer is asked to create Web service interfaces to a production insurance system using a development tool he's never used before? If the developer is consultant Weems Hutto, the client Texas-based RVOS, and the development tool Business Computer Design Int'l's WebSmart, then the answer is: less than an hour to develop a successful Web service interface.

RVOS Farm Mutual Insurance Company of Texas is an insurance company that operates as a not-for-profit Farm Mutual insurance provider. Its focus is to supply insurance products to homeowners, farmers and ranchers in Texas. Since RVOS is owned by policyholders, any profit gleaned from business operations is retained to pay claims and offset future premium increases. With almost 68,000 members, RVOS has over $9 billion of insurance in force and is rated A- Excellent by A.M. Best.

As part of an iSeries-based insurance management system overhaul, RVOS wanted policyholder information to be available to hundreds of regional agents and underwriters over the Web, as it had been for more than a decade on PC desktops running terminal emulation. RVOS had already made a significant investment in a widely used Web-based insurance quoting and submission package, and now needed to integrate aspects of the new Web-based system that exploits a Web services-based transaction service, with the legacy system.

Despite the fact that Web Services and SOA have been around for a while, technicians still lack experience in creating, setting up, and running them. A Web service essentially runs over the Web and uses an XML remote procedure call. In its most elementary state, a client encodes a request in an agreed-upon format as an XML message and sends it over the Web to an application service running on a server. The Web service application parses the message and then goes to the database to retrieve the requested information. It then encodes a response as an XML message and returns it to the client URL.

A Can Do Approach

When asked by RVOS IT managers if he knew of a way to get policy holder data off of the iSeries under the guidelines of Web services, Hutto, a consultant to RVOS and seasoned iSeries RPG coder, found a user reference manual for WebSmart, opened it to the section on Web services, and began to develop a small routine that would handle it.

Says Hutto, "BCD had a sample program that was about three-quarters of a page long, so I keyed it in, and after receiving a little help setting a couple parameters it worked! With WebSmart, it's all handled within a single function. It even manages the communications between the two systems."

Hutto explains that he patterned the Web service message format after the Web services provided by the insurance software package to reduce development time and complexity. "WebSmart gave us an efficient way to post and receive replies from Web service clients," he says.

A Multi-Purpose Solution

RVOS initially acquired WebSmart, a product better known for its rapid Web application development capabilities, to write a portal for back-office functions. WebSmart came into full stride when the need arose to satisfy the Web services requirements imposed by their new underwriting system.

"It was one of those situations where the tail wagged the dog because we used WebSmart to satisfy Web services requirements, but didn't build the entire Web application with it," Hutto says. "It's kind of funny--from our perspective WebSmart is a lifesaver because of its support for Web services."

Since most organizations want the option of transmitting data between servers in a secure manner, WebSmart supports Web services over SSL. This algorithm encrypts the data at the source before its sent so it can't be intercepted and read by people who are not authorized to do so.

To date, Hutto has built nine Web services in WebSmart and says more are on the way. "In a short period of time I found that Web services are a very simple thing to implement when you use WebSmart," he says.

In a service oriented architecture (SOA) context, the Web service has demonstrated its value and will continue its proliferation throughout IT. It is particularly well suited for the iSeries environment because, as a transaction service, it transcends barriers between platforms.


Robert Gast writes for Business Computer Design Intl'. He can be reached via email at bobgast@evantgroup.com.



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
MAXIMUM AVAILABILITY

The Ultimate System i Replication
for Business of All Sizes

With hundreds of successful installations in over 40 countries across the globe,
the *noMAX Suite of Products offer highly integrated, scalable and affordable technology;
all of which places Maximum Availability's High Availability and Disaster Recovery solutions
within the reach of all businesses, irrespective of size, scope and location.

                                                  · Fast
                                                  · Cost-effective
                                                  · Highly Scalable
                                                  · Designed for businesses of all sizes

Find Out More at www.maxava.com


Editor: Alex Woodie
Contributing Editors: Dan Burger, Joe Hertvik,
Shannon O'Donnell, Timothy Prickett Morgan
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Midrange Alliance:  Free Gartner Whitepaper on massive iSeries modernization project
Help/Systems:  SEQUEL is the single solution for all your business intelligence needs
COMMON:  Join us at the Annual 2008 conference, March 30 - April 3, in Nashville, Tennessee


IT Jungle Store Top Book Picks

The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95

 

The Four Hundred
The i5 515 and 525 Versus the Windows Competition

CIOs Get Ready to Hire in the Summer

One More Time: There Is No Gender Pay Gap

As I See It: The Ne'er-Do-Well's Guide to Enlightenment

The Linux Beacon
Red Hat Puts Out Fedora 7 Community Release

Novell Posts Another Loss in the Second Quarter

Microsoft-Novell Deal Has Escape Clause

As I See It: Operating on Overload

Big Iron
The Pizza Disconnection

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

Four Hundred Guru
Special Files Can Do It All, Part 2

Load a Spreadsheet from a DB2/400 Database

Admin Alert: Weird i5 User Profile Sign-On Secrets

System i PTF Guide
June 2, 2007: Volume 9, Number 22

May 26, 2007: Volume 9, Number 21

May 19, 2007: Volume 9, Number 20

May 12, 2007: Volume 9, Number 19

May 5, 2007: Volume 9, Number 18

April 28, 2007: Volume 9, Number 17

The Windows Observer
Muglia Lifts the Covers on Upcoming Products at Tech Ed

Microsoft Unveils 'Stirling' Security Suite

Xandros Inks Patent Protection, Interoperability Deal with Microsoft, Too

Microsoft Adds Goodies to Vista Enterprise Kit

The Unix Guardian
Project Indiana to Create an OpenSolaris Distro

Sun Broadens Its Blade Server Lineup

HP Tweaks Home-Grown Virtualization for Integrity Servers

Mad Dog 21/21: Missing Inaction

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

BOSaNOVA
Profound Logic Software
Maximum Availability
Krengeltech
VAULT400



TABLE OF CONTENTS
ASNA Preps AVR for Visual Studio 2008

Interpro Dots the 'i' for Application Translations

RPG Pro Rescues Project with WebSmart and Web Services

Boomi Goes 'On Demand' with Integration Software

News Briefs and Product Shorts:


IBM, Ricoh Expand IPDS Printing Options . . . Bank of Utah Saves with iSeries, ITI . . . IBM Offers Free Trial for Lotus Sametime . . . Retail Operation Builds Dashboard Application with mrc's M-Power . . . Nexaweb Offers Web 2.0 Tips for i5/OS Modernization . . . Infinite Software to Participate in Aberdeen Report . . .

Four Hundred Stuff

BACK ISSUES





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement