Wafl Home

Using Web Servers Tutorial

Wafl Web Server

Wafl Web Server waflServer is a simple Web server, designed and developed as a testing tool for Wafl Web services development. It is not appropriate for final Web publishing. At this moment, Wafl Web Server is available only for MS Windows.

Command Line Arguments

Wafl Web server usage syntax is:

waflServer [<options>]

where <options> is blank separated list including following options:

<serviceConfigurationFile>
<portNumber>
-minimize
-nostart

If <serviceConfigurationFile> is specified, server automatically starts the service. The service configuration file name must not begin by a digit and must end with .wsvc. Otherwise, the specified name is assumed to be a path to service base directory, and /www.wsvc is appended.

If it is not specified, the default is to use www.wsvc file in current working directory as a service configuration file, and not to start the service automatically.

Option nostart prevents the service autostart if <serviceConfigurationFile> is specified.

Parameter <portNumber> specifies a TCP/IP port number to be used by the server. If it is not specified, server uses default port number.

Option minimize automatically minimizes the server window to the system tray.

Window Usage

Wafl Web Server uses a dialog for manual configuring. Available parameters are port number or service configuration file.

 

Table of Contents

Let's Start

Program Structure

Primitive Data Types

List

Tuple

Record

HTML

Command Line Interpreter

Using Web Servers

Syntax

Examples

Tips

The most of examples evaluates with both command line and Web server Wafl interpreters. If any example is based on specific features of an interpreter, it is explicitly annotated.