Using RDMI to Process Multiple Return Values

Previous Next

You can use RDMI to process multiple return values for each input value. For instance, you can input URLs into a component that operates via the http protocol, have the component return for each URL all the lines of the corresponding HTML page, and process each of these lines within USoft.

To use RDMI in this way you need to associate one method of the component to the USoft query protocol as the EXE method, and another as the FETCH method. In the example, the EXE method is executed once for each URL fed into the component, and the FETCH method is executed as many times as there are lines in the HTML page.

Using the FETCH mechanism is one way to integrate conventional looping capabilities with USoft functionality.