Net Solutions With Cobol Or RPG on IBM ISeries

0
15
Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  


1. Introduction

Web Solutions and Soap (or Relaxation) ​​are swiftly becoming state-of-artwork architectural techniques to allow for the accessibility of multiplatform and multilanguage devices,

A lot of organizations have legacy programs which signify a significant investment decision and Internet Providers guarantee to allow for their entry from the world-wide-web without having intensive modifications.

2. An Introduction to World-wide-web Products and services

World-wide-web solutions consist of a team of standards supposed to make it possible for assorted techniques to converse, without the need of requiring a distinct type of middleware, programming language or even functioning technique. They can be based on Cleaning soap, Rest or XML-RPC ,.

Soap is an open resource message typical, based on an XML dictionary, that works by using conventional transport protocols extensively used in excess of the Net such as HTML or SMTP. It signifies a paradigm change in the way programs talk with just about every other, for the reason that it does not require any specific middleware to allow diverse apps to talk. The messages are textual content centered and available by any software around the network. They are explained by making use of a particular XML centered language called WSDL.

Rest is a less difficult form of Internet Service wherever the person simply accesses a URL to get again an XML doc without the need of any common specification.

XML-RPC is a way to ship instructions to a different program by utilizing and XML doc.

Website services make it possible for to acquire loosely coupled purposes, by enabling programs based on unique technologies and languages ​​to communicate by applying open up regular extensively based mostly on XML.

3. Consuming World wide web Companies from Cobol or RPG

If you require to accessibility a Web Services from a Cobol or RPG software, you can use the IBM World-wide-web Expert services Client for C ++ toolkit.

It makes use of extenal information constructions to define the mappings concerning aspects of an XML document and fields usable in Cobol or RPG apps and makes it possible for to deliver C or C ++ functions which can be termed by the Cobol or RPG method to invoke the internet support. The generation is based mostly on the WSDL file which describes the Net assistance.

4, Exposing Legacy packages in Cobol or RPG as Net Expert services

If you want to obtain legacy Cobol or RPG packages as Website Providers, you can use the IBM Toolbox for Java or JTOpen to acquire a Java Net Service which calls the Cobol or RPG software and return the benefits as a Cleaning soap information.

It will allow to acquire clientele in Java or other languages ​​to call legacy Cobol or RPG application and return the effects as XML messages according to the World-wide-web services requirements.

5. Applying PHP with World-wide-web Expert services

PHP has a short while ago been ported to the IBM iSeries techniques.

PHP has a very good support for World-wide-web Products and services and Soap especially in the PHP 5 variation.

See the PHP products and services can call nicely phone courses written in other languages ​​such as Cobol or RPG and thus PHP can be an alternative to the technique of the past level.

6. DB2 Net Services

Facts in relational databases can be accessed while end-user queries in SQL or other interfaces or by apps that use programming interfaces this kind of as JDBC and SQLJ.

DB2 lets also to use Web solutions to query the database and to get the results as regular Cleaning soap messages.

7. References.

You will locate a great deal of useful data and tutorials on the above methods and instruments at the URL
http://www.ibm.com/developerworks

Resource by Mario Pesce

Don't miss out!
Subscribe To Newsletter

Receive top technical news, lesson ideas, travel tips and more!

Invalid email address
Give it a try. You can unsubscribe at any time.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

LEAVE A REPLY

Please enter your comment!
Please enter your name here