Solved

RPG vs Webservice

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

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

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

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.
Suggested Courses

617 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