Solved

RPG vs Webservice

Posted on 2010-11-30
1
849 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DS3512 Replace HDD 2 59
AS/400 Overlays 3 44
Testing of the web services 1 78
ISeries BRMS - Send snapshot to tape 1 19
For some reason Google Apps has decided to reserve 'www' for your new domain which results in an error when trying to map the web address 'www' to a certain site in your Google Sites. The error is 'this address is already being used' and after some …
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

734 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