Configuration Overview

The example that is provided in this documentation demonstrates the configuration of an nHTTP listener and a simple process flow.

Note: You must have iWay Service Manager 6.0 or higher installed to configure and use an nHTTP listener.

The nHTTP listener is listening for HTTP requests on port 2222 and is configured to process HTTP GET requests as events. It will generate an event document with all the available information from the HTTP GET request and propagate it to the configured process flow. The process flow will parse the received event document representing the HTTP GET request and will attempt to retrieve the requested file from the directory. If the file is found, it will return the file content as an nHTTP response. If the requested file is not available, an error message will be returned. Please note that even though there is an option to simply serve the documents from the docroot, this example will call a process flow for this purpose. This is done to illustrate a technique to call a process flow as a REST style service call.

For more information on how to configure an nHTTP listener and a simple process flow, see Configuring a Process Flow and nHTTP Channel.


iWay Software