Overview

The Addrest (address / rest) demo application is designed to illustrate the entire implementation of a REST (Representational State Transfer) style service. In terms of functionality, the Addrest demo application performs a data search against a CSV (comma-separated value) file and returns the results as a formatted data grid.

The application is implemented using the REST plug-in, which is packaged with iWay Enable and enables the support of REST style HTTP GET services. A REST style HTTP GET service allows a process flow to be called using a URL identifier.

A process flow can be called with any number of parameters, which are presented as part of the URL string by the calling application. This URL string is received by a listener on the dedicated context endpoint and then converted to an XML document, which then is passed to the specified process flow for processing. The response document from the process flow is then returned to the calling Web application for presentation to the user or further processing.

The Addrest demo application allows you to search for address and contact information from a customer record. You are presented with a Web interface that allows you to enter a search string. The REST style request is generated and processed by the associated process flow. Finally, the result set is presented to you.


iWay Software