× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Joel,
Welcome back!

I think it is something that can be easily written. There are a couple of APIs
that allow you to load a service program dynamically and then call a
subprocedure in that service program. Having a generic subprocedure caller would
be challenging if written in RPG IV, but I could probably do it in C.



-Bob Cozzi
www.i5PodCast.com
Ask your manager to watch i5 TV



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Joel Cochran
Sent: Thursday, April 26, 2007 9:00 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: RPG UI Frameworks was->RE: Fw: Enhancements to RPG

I know I don't post here much anymore (I don't feel so welcome since I
became a .NET developer), but this intrigued me:

On 4/26/07, Bob Cozzi <bob@xxxxxxxxxxxx> wrote:

However, a Web/Browser interface can already do event-driven stuff via
AJAX and
regular CGI calls to RPG or any language. What would be beneficial is the
ability to "AJAX to" a subprocedure directly rather than only to a
program. I'm
not certain if that's much better from a performance standpoint than just
leaving a CGI program active in its A/G and reactivating it, but it would
be
cooler. :)


I had an idea last year (but no time to work on it) that may address this.
Assume the subprocedure you want is in a Service Program. Now assume there
was a tool that would allow you to create Webservices from Service programs
(like NuSOAP for PHP). Essentially, a Webservices Wrapper for Service
Programs, complete with WSDL support that delivered SOAP messages containing
the return values. Assuming that you can "AJAX" to a webservice, wouldn't
this do what you suggest here?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.