Solved

RPG vs Webservice

Posted on 2010-11-30
1
817 Views
Last Modified: 2013-12-06
Hi Experts,

Can someone tell me what the advantage is to use webservices instead of calling directly "eRPG' programs?

(or the disadvantage)

Thanks,
Murph
0
Comment
Question by:theo kouwenhoven
1 Comment
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 50 total points
Comment Utility
Advantages:

Ease of use - Web services have standard interfaces that are understood by lots of tools, which makes them easy to interface with.  Most Java programmers, for example,  have no idea how to call an RPG program directly, and dealing with parameter passing between RPG and other languages and platforms is complex.  Calling an AS/400 web service that uses an RPG program is the same as calling a Solaris web service that uses a PHP program.  The developer using the web service doesn't have to worry about the platform, internal numeric formats, or other implementation-specific details.

Standards-based interface - Web services use XML to describe what the interface looks like (WSDL), and to pass data (messages) in and out of the services over HTTP (SOAP).  Otherwise, developers working in other languages and on other platforms have to deal with packed numbers, zoned numbers, EBCDIC conversion, low-level transport details, etc.

Well-known standards-based transport - Web services use HTTP as a transport protocol, which is understood by stateful firewalls.  This means that firewalls can perform stateful inspection, providing a deeper level of inspection and security to the network.

Standards-based discovery protocol - Web services can utilize standards-based discovery mechanism (UDDI, for example) that makes it possible to publish a list of web services in a directory, where potential consumers can then obtain enough information about the service in order to use it.  

Disadvantages:

The key disadvantage in your case is probably the learning curve for legacy programmers.

Performance cost can also be a disadvantage.  Any time you add more layers, you add some performance cost.

Debugging complexity.  Again, more layers means more complexity in debugging and troubleshooting.

http://www.ibm.com/developerworks/webservices/standards/
http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/435f43a9-ee17-4700-8c9d-d9c3ba57b5ef/


- Gary Patterson

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now