Portus Version 2018-08-24
 

Accessing a Portus Service from a Ruby program

Ruby is an Open Source object oriented language with a very simple, yet powerful SOAP interface.

If you do not have Ruby installed yet it can be dowbloaded from here.

Ruby comes with a very powerful editor, SciTE, which not only allows editing, but also compiling & execution of programs.

This is an example of a complete Ruby program listing all Employees with personnel-IDs starting with 50005*, using the 'adabas_EmployeesMini' Resource that comes with the sample Portus configuration.

When running this program, by either pressing the F5 key, or selecting Tools->Go from the SciTE menu, an output window will be attached to the editing window, and show the result of the Ruby query against Portus


Ostia
www.ostiasolutions.com
Copyright @ 2006-2018 Ostia Software Solutions Limited.