Ok..this is amazing...here is what I did
1. created a web project and added a service.
2. modified build descriptor by adding "linkage" section
3. created a service function to call an rpg program and return some stuff
4. created rui project defining dedicated service and called the service
function
That?s it...it worked...no WDSL, no interfaces, ect.....
I guess is just works off your host file to find where it needs to go and
does its thing..
The only issue I had was that the service had to return type "string", not
type "char". The old way of doing it used to create the interface and
converted the char stuff to string...
Pretty amazing...
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Sunday, March 20, 2011 5:46 PM
To: Midrange Systems Technical Discussion
Subject: Re: many QZDASOINIT & QZRCSRVS jobs in QUSRWRK
On 3/20/2011 4:31 PM, tim wrote:
Thanks Joe...
I will create an Egl Café question on this...i don?t see any examples of
calling rpg programs using @dedicated...might be a nice thing to have
Tim, you don't call an RPG program using @dedicated. Rich UI calls an
EGL service using @dedicated, which in turn calls an RPG program. Just
like any other multi-tiered EGL approach. The RPG is called by the part
that runs on the server. The Rich UI calls the EGL on the server.
Joe
As an Amazon Associate we earn from qualifying purchases.