Overview of Wireless Application Protocol
Overview of Wireless Application Protocol
Introduction
Evolution of WAP
Components of WAP
Architecture of WAP
WAP Gateway
Application of WAP
Challenges of WAP
Summary
Introduction
We are moving towards an open, global world where Internet becomes the part of our
environment. People are looking towards mobile devices using Internet efficiently and
effectively to share any information. WAP is designed to allow mobile users to access and
communicate with internet.
The wireless industry created specification to standardize the way of using Internet on
mobile devices. It is an application communication protocol. It is derived from Internet
Standards. It enables the programmer to create the web applications for mobile devices. It
is meant for micro [Link] uses WML (Wireless Markup Language). WML is
defined as an XML 1.0 application. Figure 1 shows the interface between internet and
mobile devices.
Evolution of WAP
USA based company Unwired planet developed HDML (Handheld Device Markup
Language) in 1994 and then in 1995 come up with HDTP (Handheld Device Transport
Protocol).
WAP was released in 1998 with WAP 1.0, though different version of WAP has been
released in market WAP 1.1, WAP1.2, WAP 1.2.1 etc. WAP standards are maintained by
WAP forum. It was founded in 1997 by Nokia, Motorola and Openwave.
Components of WAP
[Link] of WAP
The WAP architecture is somewhat similar to OSI model, having different protocol
stack. The architecture of WAP is illustrated in Figure 2. The protocol stack of WAP
consists of following layers:
WML
WML script
WTA
Content formats
This layer provides a lightweight session layer to allow efficient exchange of data
between applications. Application layer gives a consistent interface for two session
services such as:
This layer offers transaction support, adding reliability to the datagram service
provided by WDP. It is a light weight transaction oriented protocol.
This layer is based on industry oriented Transport Layer Security (TLS) protocol. It
optimizes the use over narrow-band communication channels.
Features of WTLS:
Data integrity
Privacy
Authentication
Denial-of-service protection
It is the transport layer that sends and receives messages via any available bearer
network, including SMS, USSD, CSD, CDPD and GPRS. It operates above the data
capable bearer services supported by various network types. It provides a common
interface to the upper layer protocols and hence they function independent of the
underlying wireless network.
WAP Gateway
It acts as a middleware, which is used for encoding and decoding between cellular
devices and the web server. It located telecom network or Internet Service Provider.
The WAP gateway structure is depicted in Figure 3.
Main functions of the Gateway are as under
Implement the WAP protocol stack
Transfer of Protocol between mobile phone and server
User authentication
Compress WML pages
The HTTP interface consists of WAP content which is combination WML and WML
Script. It captures the usage data for billing. It allows the best usage of bandwidth by
allowing small packet transfer.
The SSL( Secure Service Layer) establish the service link between web server and
browser and maintain its security. It is a Security Standard.
TCP(Transmission Control Protocol) is the protocol for Internet. It is connection
oriented protocol. It decide the divide the data into packet for efficient transmission
on network. It is used with IP(Internet Protocol ).
Application of WAP
Business Applications- Any business person can track its sales figure, status in market,
market up and down, share market, competitors data etc
Online Services
o Banking: Users can get their current balance, transfer funds between accounts and
receive fax of a mini-statement
o E- Commerce: Customer can use their handset just like their PC to see the sales,
purchase products and services over the Web.
o Tele services: Most of telecommunication services are updating the data usage status.
More and more options are available in the market. CRM and SCM is done by using
tele-services.
o Prepaid Services
o Email: All the mails and data can be synchronized in the inbox. Users can keep track
of their email and notification etc. from their handset.
Others include:
o Interactive Chat
o Auctions
o Games
The biggest challenge in WAP is to provide support to the applications which are
having huge content and graphical interface.
It is difficult to get assurance of service in wireless devices.
The major issue is in interface design for handheld devices, as these devices are very
compact, small and having limited memory. Working in these constraints and getting
good interface to interaction is always a challenge.
Usability of the network
WAP website generally supported by WML which is scalable. WAP supports all other
markup languages such as HTML and XML, but has one hand navigation so it uses
WML only because of scalability.
Low Bandwidth
Limited device capability
Summary
Wireless network and devices have specific needs and requirement. These are the
devices with limited screen, limited processing etc. WAP enables such devices to use
internet. As internet access and mobile communication comes a long way. It is mandatory
to have standards for operation; WAP is the standard which is acting as an interface
between the World Wide Web and mobile devices. Though it has to deal with number of
challenges but today’s devices capability is increase with the help of WAP. It supports
most of the wireless networks such as CDMA, GSM, and TETRA etc. It is also supported
by all operating system used in handheld devices such as Windows, Java etc.
1. Introduction
WDP (Wireless Datagram Protocol) is the transport layer of the WAP architecture.
It acts as an adaptation layer between the bearer services (like SMS, GSM, GPRS, CDMA)
and the upper WAP layers (WTP, WSP, WAE).
Main goal: To provide a uniform interface to the upper layers, independent of the
underlying wireless network technology.
📌 In simple words:
👉 WDP = UDP for WAP (similar functionality but optimized for wireless).
2. Features of WDP
1. Datagram-based (connectionless service, like UDP).
2. Port addressing – each WAP application can be identified using a port number.
3. Error detection – basic checks for message integrity.
4. Bearer-independent – works with any wireless bearer service (SMS, USSD, GPRS,
CDMA, 3G, etc.).
5. Lightweight – suitable for low-power devices with small memory.
6. Encapsulation – encapsulates user data into datagrams for transmission.
3. WDP Functions
Encapsulation: Packages data into datagrams.
Multiplexing/Demultiplexing: Uses port numbers to deliver data to correct applications.
Adaptation: Adapts higher layer protocols (WTP, WSP) to the specific bearer service.
Segmentation/Reassembly: Splits large data into smaller datagrams for transmission.
Error handling: Detects transmission errors (limited recovery, most handled by WTP).
5. Applications of WDP
1. SMS-based WAP services
o WDP enables WAP messages to be sent over SMS bearers.
o Example: Mobile banking alerts, prepaid balance inquiry.
2. GPRS/3G Internet browsing
o WDP provides datagram service over packet-switched bearers.
o Example: Accessing WAP-based websites using WML.
3. Push services
o WDP is used for WAP Push (server pushes info to device without request).
o Example: News updates, Stock price alerts, Weather forecasts.
4. M-Commerce and Mobile Banking
o Secure WAP services use WDP for communication.
o Example: Transferring money, checking account balance.
Flow:
Flow:
Mobile Browser (WML request) → WDP over GPRS → WAP Gateway → Internet (HTTP)
Internet (HTTP Response) → WAP Gateway → WDP over GPRS → Mobile Browser
1. Introduction
WTLS (Wireless Transport Layer Security) is the security layer of WAP architecture,
sitting above WDP and below WTP/WSP.
It is an adaptation of TLS/SSL (used in the internet), designed for the constraints of
wireless networks:
o Low bandwidth
o High latency
o Small device memory & processing power
WTLS provides privacy, integrity, and authentication for wireless communication.
📌 In simple words:
👉 WTLS = "Mobile version of SSL/TLS" (lightweight security for WAP).
1. Handshake Protocol
o Establishes a secure session between client and server.
o Negotiates encryption algorithms and keys.
o Authenticates client/server identities.
2. Record Protocol
o Encapsulates higher-layer data into secure records.
o Provides compression, encryption, and integrity protection.
3. Alert Protocol
o Sends alert messages (warnings, fatal errors, session termination).
6. Applications of WTLS
1. Mobile Banking & M-Commerce
o Protects sensitive transactions (PIN, account info, payments).
o Example: Checking account balance securely via WAP.
2. Mobile E-commerce
o Encrypts payment details in online purchases.
o Example: Buying prepaid mobile recharge securely.
3. WAP Push Services
o Secure delivery of push messages (e.g., stock alerts, airline updates).
4. Mobile Email and Messaging
o Secures emails or instant messages delivered over WAP.
5. Healthcare and Government Services
o Protects confidential patient or citizen data sent via mobile apps.
8. Advantages of WTLS
Lightweight (optimized for wireless).
Works even on low bandwidth (SMS, GSM).
Protects user privacy & security.
Ensures trust in mobile commerce.
9. Limitations of WTLS
WAP Gap Problem: At the WAP gateway, WTLS data must be decrypted into TLS/SSL
for internet communication → security risk.
Limited encryption strength compared to full TLS.
Becoming obsolete with modern smartphones (HTTPS/TLS directly used now).
📌 In simple words:
👉 WTP = "Wireless TCP but lighter and faster."
3. Features of WTP
1. Lightweight → Less overhead than TCP.
2. Transaction-oriented → Designed for request–response applications.
3. Supports multiple transaction classes (flexible reliability).
4. Optimized for wireless errors (retransmission handled efficiently).
5. Asynchronous operations → Multiple requests can be active at once.
6. Runs over unreliable transport (WDP) → Adds reliability where needed.
5. Functions of WTP
Segmentation and reassembly of large messages.
Error detection and retransmission for reliability.
Duplicate detection to prevent repeated processing.
Support for asynchronous transactions (handling multiple requests).
Flow control for efficient data exchange.
6. Applications of WTP
1. Mobile Banking / Payments
o Reliable request–response for checking balance or making payments.
2. Mobile Internet Browsing (WAP sites)
o WTP ensures reliable delivery of WML content between client and server.
3. WAP Push Services
o Used in sending service messages like stock alerts, weather updates, airline
notifications.
4. M-Commerce (Mobile Shopping)
o Ensures safe request–response for product selection and payment.
5. Government/Healthcare Services
o Reliable mobile-based authentication or medical data requests.
8. Advantages of WTP
Less overhead than TCP → efficient for wireless.
Provides reliability where WDP (UDP-like) cannot.
Supports different levels of reliability depending on application needs.
Can handle multiple parallel transactions.
9. Limitations of WTP
Not as reliable as TCP for large continuous streams (like video/audio).
WAP Gap issue at WAP gateway (security risk if not combined with WTLS).
Became obsolete with modern mobile internet (replaced by full TCP/IP).
1. Introduction
WSP (Wireless Session Protocol) is the session layer of WAP architecture, sitting above
WTP/WTLS and below the Application Environment (WAE).
Provides functionality similar to HTTP (Hypertext Transfer Protocol) but optimized for
wireless mobile environments.
Designed to reduce bandwidth usage, connection setup time, and processing overhead.
📌 In simple words:
👉 WSP = “Mobile-friendly HTTP for WAP devices.”
4. Capability Negotiation
o Mobile device can tell the server its screen size, memory, and supported features.
o Server adapts content accordingly.
5. Efficient Communication
o Supports push services (server-initiated messages).
o Reduces connection setup delays compared to HTTP.
4. WSP Modes
Connection-oriented mode
o Runs over WTP (reliable transactions).
o Suitable for interactive services like browsing or banking.
Connectionless mode
o Runs over WDP (unreliable datagram).
o Suitable for lightweight notifications and push messages.
5. Functions of WSP
Establishes, manages, and releases sessions.
Maps WAP requests to HTTP requests (via WAP Gateway).
Provides push and pull mechanisms for content delivery.
Ensures interoperability between mobile devices and internet servers.
6. Applications of WSP
1. Mobile Web Browsing
o Provides session support for accessing WAP websites (WML pages).
2. Mobile Banking & Payments
o Secure session management for balance check, fund transfer.
3. Push Services
o Stock alerts, news headlines, weather notifications.
4. E-commerce (M-Commerce)
o Shopping, ticket booking, recharge, etc.
5. Government/Healthcare Applications
o Secure mobile access to public service portals or health records.
Flow:
8. Advantages of WSP
More efficient than raw HTTP in wireless environment.
Reduces bandwidth usage (compressed headers).
Supports both client-initiated (pull) and server-initiated (push) services.
Provides capability negotiation (better user experience).
9. Limitations of WSP
Dependent on WAP gateway for translation between WSP and HTTP → WAP gap issue.
Slower compared to modern mobile internet (HTTPS over TCP/IP).
Largely obsolete with the rise of smartphones and full web browsers.
📌 In simple words:
👉 WAE = “Mobile application framework in WAP that supports WML, WMLScript, and WTA.”
4. Features of WAE
Supports interactive mobile applications (similar to web apps).
Lightweight and optimized for small devices.
Provides standardized environment for developers.
Supports both push (server-initiated) and pull (user-initiated) services.
Works with WSP/WTP/WTLS for session, transaction, and security support.
5. Applications of WAE
1. Mobile Web Browsing
o WML-based sites accessed via WAP browsers.
o Example: Accessing news headlines, cricket scores, email.
2. Mobile Banking & M-Commerce
o Secure balance inquiry, fund transfers, bill payments.
o Example: Using WML forms with WMLScript validation.
3. Push Services
o News alerts, stock updates, sports scores.
o Example: WAP Push messages delivered to user’s phone.
4. Telephony Services (WTA)
o Accessing call-related functions directly from WAP apps.
o Example: Customer care apps that trigger calls with one click.
5. Healthcare / E-Governance
o Mobile access to patient data, public services, ticket booking.
<wml>
<card id="welcome" title="Hello">
<p>Welcome to WAP World!</p>
<do type="accept" label="Next">
<go href="[Link]"/>
</do>
</card>
</wml>
Calls customer care number directly when user selects the option.
7. Advantages of WAE
Standardized platform for mobile applications.
Lightweight and efficient for limited devices.
Supports both browsing and telephony integration.
Enables m-commerce, banking, push services.
8. Limitations of WAE
Dependent on WAP Gateway for converting WML ↔ HTML.
Very limited compared to modern HTML5/JavaScript.
Obsolete now (replaced by modern mobile browsers, apps).
📌 In simple words:
👉 WML = “HTML for WAP-enabled mobile phones.”
2. Characteristics of WML
1. XML-based → Strict syntax, case-sensitive, hierarchical structure.
2. Deck and Card Structure →
o A Deck = group of Cards (like a web page with multiple screens).
o A Card = a single unit of user interaction (like one screen).
3. Event-driven Navigation → Uses <do> elements for navigation (instead of hyperlinks).
4. Lightweight → Requires less bandwidth and processing power.
5. Supports User Interaction → Forms, text input, selections, etc.
6. Supports Images and Text → Can display simple images (WBMP format).
7. Works with WMLScript → For validation, computation, and interactivity.
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"[Link]
<wml>
<card id="card1" title="Welcome">
<p>Hello, WAP User!</p>
</card>
</wml>
4. Features of WML
Navigation via decks and cards.
Support for forms and input fields.
Lightweight binary encoding for transmission.
Compatible with WMLScript for logic.
Standardized by WAP Forum.
5. Applications of WML
1. Mobile Web Browsing
o Simple WAP sites (news, weather, sports updates).
2. Mobile Banking & Payments
o Balance inquiries, fund transfers using WML forms.
3. Push Services
o Stock market alerts, news updates via WML cards.
4. M-Commerce (Shopping)
o Product listings and purchases through WAP-enabled phones.
5. Government & Public Services
o Railway ticket booking, bill payment portals in early mobile services.
6. Examples of WML
Example 1: Simple WML Page
<wml>
<card id="welcome" title="Hello">
<p>Welcome to WAP World!</p>
<do type="accept" label="Next">
<go href="[Link]#main"/>
</do>
</card>
</wml>
7. Advantages of WML
Lightweight and efficient.
Optimized for small displays.
Works with WMLScript for interactivity.
Standardized for wireless applications.
8. Limitations of WML
Very limited design (no rich graphics, video, or complex layouts).
Requires WAP-enabled devices and gateways.
Obsolete now (replaced by HTML, CSS, JavaScript in smartphones).
📌 In simple words:
👉 WML provides the content, WMLScript adds the logic.
Features of WMLScript
Applications of WMLScript
1. Input Validation
o Check if PIN, password, or mobile number is correct before sending to server.
2. User Interaction
o Show alerts, confirmations, or error messages.
3. Calculations
o Perform small computations (e.g., currency conversion).
4. Form Handling
o Validate form fields before submission.
5. Reduce Server Load
o By handling checks locally, fewer server requests are needed.
WTA (Wireless Telephony Applications) extend the WAE to support voice and
telephony services.
Provides APIs to allow WAP applications to control mobile phone features like:
o Making/ending calls
o Sending/receiving SMS
o Managing call logs and phonebook
Combines data services (WML/WMLScript) with telephony services (voice/SMS).
📌 In simple words:
👉 WTA = “Bringing mobile phone call/SMS functions into WAP applications.”
Features of WTA
Examples of WTA
Example 1: Making a Call
<wml>
<card id="call" title="Customer Care">
<p>Press to Call Customer Care</p>
<do type="accept" label="Call Now">
<go href="wtai://wp/mc;1800123456"/>
</do>
</card>
</wml>
If a WTA application is registered for incoming calls, it can automatically display a WML
page when a call arrives.
Example: If a bank call arrives, app shows “Bank Customer Care calling…” on screen.
3. Advantages
WMLScript: Reduces server load, improves interactivity, saves bandwidth.
WTA: Integrates telephony with WAP applications, enabling advanced services.
4. Limitations
WMLScript is less powerful than JavaScript (no complex logic).
WTA depends on mobile hardware and operator support.
Obsolete today (modern smartphones use HTML5, Android/iOS APIs instead).