1. A method for generating a program capable of invoking a flow of operations, wherein the program is capable of being initiated from an external call, comprising: receiving as input a definition file defining a flow of operations; receiving as input mapping information defining input parameters to the flow of operations; processing the received definition file and mapping information to generate program statements within the program that when executed perform: (i) setting input parameters to the flow of operations to values received from an external call to the program; (ii) invoking the flow of operations with the input parameters including values from the external call; and (iii) receiving output from the flow of operations and extracting at least one value from the received output to return to the external call.