Infrastructure - Introduction to WAP


WAP Architecture

The Internet World-Wide Web (WWW) architecture provides a very flexible and powerful programming model. Applications and content are presented in standard data formats, and are browsed by application known as web browsers (Figure 1). The web browser sends requests for named data objects to a web server and the server responds with the data encoded using the standard formats.


Figure 1. WWW Programming Model

The WWW standards for building a an application environment includes:

The WWW protocols define three classes of servers:

The WAP programming model, as shown in Figure 2, is similar to the WWW programming model. It borrows heavily from the WWW model and architecture and uses existing tools such as Web servers and XML tools. Optimizations and extensions have been made in order to support the characteristics of the wireless environment. Most of the existing WWW standards have been adopted and have been used as the starting point of the WAP technology.


Figure 2. WAP Programming Model

WAP content and applications are specified in a set of content formats based on the familiar WWW content formats. Content is transported using a set of standard communication protocols based on the WWW communications protocols. A micro browser in the wireless terminal co-ordinates the user interface and is analogous to a standard web browser.

WAP defines a set of standard componetnts that enable communication between mobile terminals and netwok servers, including:

The WAP content types and protocols have been optimized for hand-held wireless devices. WAP utilizes proxy technology to connect between the wireless domain and the Internet. The WAP proxy typically is compresed of the following functionality:


Figure 3. WAP Protocol Stack

The WAP gateway talks to the phone using the WAP protocol stack, and translates the requests it receives to normal HTTP. Thus, the content providers can use any HTTP servers, and can utilize existing know-how about HTTP service implementation and administration.

This infrastructure ensure that mobile users can browse a wide variety of WAP content and applications. The WAP proxy allows content and applications to be hosted on standard WWW servers and to be developed using WWW technologies such as CGI scripting.


Kannel WAP Gateway

Kannel WAP Gateway

Kannel is an open source WAP gateway. It attempts to provide this essential part of the WAP infrastructure freely to everyone so that the market potential for WAP services, both from wireless operators and specialized service providers, will be realized as efficiently as possible.

Kannel also works as an SMS gateway for GSM networks. Almost all GSM phones can send and receive SMS messages, so this is a way to serve many more clients than just those using a new WAP phone.

Open Source is a way to formalize the principle of openness by placing the source code of a product under a Open Source compliant software license. The BSD license was chosen over other Open Source licenses by the merit of placing the least amount of limitations on what a third party is able to do with the source code. In practice this means that Kannel is going to be a fully-featured WAP implementation and compatible with a maximum amount of bearers with special emphasis on SMSC compatibility.

The Kannel project was founded by WapIT Ltd. in June, 1999. WapIT Ltd. was founded on October 6th 1998 in Helsinki, Finland to organize the work of the team which had built the most extensive set of SMS services so far. WapIT Ltd. acts as a content innovator and a packager for wireless services. WapIT is a member of the WAP Forum.


Network Emulation Software

NIST Net

NIST Net is a network emulation package that runs on Linux. NIST Net allows a single Linux PC set up as a router to emulate a wide variety of network conditions. Here is a brief blurb about NIST Net:

The NIST Network Emulation Tool (NIST Net) is a general-purpose tool for emulating performance dynamics in IP networks. The tool is designed to allow controlled, reproducible experiments with network performance sensitive/adaptive applications and control protocols in a simple laboratory setting. By operating at the IP level, NIST Net can emulate the critical end-to-end performance characteristics imposed by various wide area network situations (e.g., congestion loss) or by various underlying subnetwork technologies (e.g., asymmetric bandwidth situations of xDSL and cable modems).

NIST Net is implemented as a kernel module extension to the Linux operating system and an X Window System-based user interface application. In use, the tool allows an inexpensive PC-based router to emulate numerous complex performance scenarios, including: tunable packet delay distributions, congestion and background loss, bandwidth limitation, and packet reordering / duplication. The X interface allows the user to select and monitor specific traffic streams passing through the router and to apply selected performance "effects" to the IP packets of the stream. In addition to the interactive interface, NIST Net can be driven by traces produced from measurements of actual network conditions. NIST Net also provides support for user defined packet handlers to be added to the system. Examples of the use of such packet handlers include: time stamping / data collection, interception and diversion of selected flows, generation of protocol responses from emulated clients.


Phone Emulators

Nokia WAP Toolkit

Nokia WAP Toolkit

The Nokia WAP Toolkit offers developers a PC environment for creating, testing and demonstrating WAP applications. The Nokia WAP Toolkit includes tools for creating WML and WMLScript content, debugging WAP applications and simulating the WAP content on WAP enabled devices.

Ericsson WapIDE SDK

Ericsson WapIDE SDK2.1

The WapIDE SDK is an Integrated Development Environment for developing WAP Services. It consists of three main components: WAP Browser, Application Designer and Server Toolset. The WapIDE SDK2.1 release supports WML 1.1 and WML Script 1.1 as proposed in the specifications from Wap Forum, dated June 16, 1999.

WML and WMLScripts


Building WAP Applications


Content Server

Apache Server

The Content Server, in addition to being our FTP Server is also configured to serve both HTML and WML documents.

WavePoint

Wave Point

WavePOINT is a hardware/software system that provides access for mobile WaveLAN stations into wired LANs such as Ethernet. Using WavePOINT with notebooks equipped with WaveLAN/PCMCIA cards one can 1) create a wireless LAN environment for mobile computers and 2) extend an existing wired LAN by providing access for WaveLAN wireless workstations. The WavePOINT operates as a transparent MAC bridge between a wired network and a wireless network. It is compatible with the WaveLAN/PCMCIA cards for notebook and notepad computers.

The Wavelan WavePOINT access point in our lab perates at 2.4GHz with a data rate of 2MB/s and is compatible with Ethernet 802.3.


WAP References

WAP Reference