Solved

RPG vs Webservice

Posted on 2010-11-30
1
840 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 35

Accepted Solution

by:
Gary Patterson earned 50 total points
ID: 34239010
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

820 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