The exchange of information between the I Series and Windev is done using XML. Input
parameters of the program must be sent using an XML format matching the
structure expected by the program.
Example of XML input for the ASXMLCallPgm command, to call the RPCSAMPLE program:
<?xml version="1.0" encoding="UTF-8" ?>
<Easycom Version="02.02.004">
<Program Name="RPCSAMPLE">
<ParameterList>
<OP1>2</OP1>
<STR1>aura</STR1>
<OP2>3</OP2>
<STR2>test</STR2>
<OP3>4</OP3>
</ParameterList>
</Program>
</Easycom>
Ouput values are also returned within XML format, with the <PARAMETERLIST> tag :
<?xml version="1.0" encoding="UTF-8" ?>
<Easycom Version="2.01">
<Program Name="RPCSAMPLE">
<ParameterList>
<OP2 Type="Packed">5.00</OP2>
<STR2 Type="Char">aura</STR2>
<OP3 Type="Packed">6.0000</OP3>
</ParameterList>
</Program>