Here is a simple example. IDL file:
library 'EXAMPLE' is
program 'GP' is
define data parameter
1 Group In Out
2 G1 (AV)
2 G2 (I4)
end-define
Code to call the remote program:
Example e = new Example(broker, "RPC/SRV1/CALLNAT");
Example.GpGroup gr = e. new GpGroup();
gr.g1 = "string";
gr.g2 = 12;
e.setGpGroup(gr);
e.gp();
gr = e.getGpGroup();
Hope this helps.
Kind regards,
Rolf
#EntireX#Mainframe-Integration#webMethods