Wireless Application Protocol

From HandWiki
Short description: Technical standard for accessing information over a mobile wireless network

Wireless Application Protocol (WAP) is a technical standard for accessing information over a mobile wireless network. A WAP browser is a web browser for mobile devices such as mobile phones that use the protocol. Introduced in 1999,[1] WAP achieved some popularity in the early 2000s, but by the 2010s it had been largely superseded by more modern standards. Almost all modern handset internet browsers now fully support HTML, so they do not need to use WAP markup for web page compatibility, and therefore, most are no longer able to render and display pages written in WML, WAP's markup language.[2]

Before the introduction of WAP, mobile service providers had limited opportunities to offer interactive data services, but needed interactivity to support Internet and Web applications such as email, stock prices, news and sports headlines. The Japanese i-mode system offered another major competing wireless data protocol.

Technical specifications

WAP stack

The WAP standard described a protocol suite or stack[3] allowing the interoperability of WAP equipment and software with different network technologies, such as GSM and IS-95 (also known as CDMA).

Wireless Application Environment (WAE) rowspan="6" Script error: No such module "Vertical header".
Wireless Session Protocol (WSP)
Wireless Transaction Protocol (WTP)
Wireless Transport Layer Security (WTLS)
Wireless Datagram Protocol (WDP)
Any wireless data network

The bottom-most protocol in the suite, the Wireless Datagram Protocol (WDP), functions as an adaptation layer that makes every data network look a bit like UDP to the upper layers by providing unreliable transport of data with two 16-bit port numbers (origin and destination). All the upper layers view WDP as one and the same protocol, which has several "technical realizations" on top of other "data bearers" such as SMS, USSD, etc. On native IP bearers such as GPRS, UMTS packet-radio service, or PPP on top of a circuit-switched data connection, WDP is in fact exactly UDP.

WTLS, an optional layer, provides a public-key cryptography-based security mechanism similar to TLS.

WTP provides transaction support (reliable request/response) adapted to the wireless world. WTP supports more effectively than TCP the problem of packet loss, which occurs commonly in 2G wireless technologies in most radio conditions, but is misinterpreted by TCP as network congestion.

This protocol suite allows a terminal to transmit requests that have an HTTP or HTTPS equivalent to a WAP gateway; the gateway translates requests into plain HTTP.

The Wireless Application Environment (WAE) space defines application-specific markup languages.

For WAP version 1.X, the primary language of the WAE is Wireless Markup Language (WML). In WAP 2.0, the primary markup language is XHTML Mobile Profile.

WAP Push

WAP Push process

WAP Push was incorporated into the specification to allow the WAP content to be pushed to the mobile handset with minimal user intervention. A WAP Push is basically a specially encoded message which includes a link to a WAP address.[4]

WAP Push was specified on top of Wireless Datagram Protocol (WDP); as such, it can be delivered over any WDP-supported bearer, such as GPRS or SMS.[5] Most GSM networks have a wide range of modified processors, but GPRS activation from the network is not generally supported, so WAP Push messages have to be delivered on top of the SMS bearer.

On receiving a WAP Push, a WAP 1.2 (or later) -enabled handset will automatically give the user the option to access the WAP content. This is also known as WAP Push SI (Service Indication).[5] A variant, known as WAP Push SL (Service Loading), directly opens the browser to display the WAP content, without user interaction. Since this behaviour raises security concerns, some handsets handle WAP Push SL messages in the same way as SI, by providing user interaction.

The network entity that processes WAP Pushes and delivers them over an IP or SMS Bearer is known as a Push Proxy Gateway (PPG).[5]

WAP 2.0

A re-engineered 2.0 version was released in 2002. It uses a cut-down version of XHTML with end-to-end HTTP, dropping the gateway and custom protocol suite used to communicate with it. A WAP gateway can be used in conjunction with WAP 2.0; however, in this scenario, it is used as a standard proxy server. The WAP gateway's role would then shift from one of translation to adding additional information to each request. This would be configured by the operator and could include telephone numbers, location, billing information, and handset information.

Mobile devices process XHTML Mobile Profile (XHTML MP), the markup language defined in WAP 2.0. It is a subset of XHTML and a superset of XHTML Basic. A version of Cascading Style Sheets (CSS) called WAP CSS is supported by XHTML MP.

MMS

Main page: Multimedia Messaging Service

Multimedia Messaging Service (MMS) is a combination of WAP and SMS allowing for sending of picture messages.

History

The WAP Forum was founded in 1998 by Ericsson, Motorola, Nokia and Unwired Planet.[6] It aimed primarily to bring together the various wireless technologies in a standardised protocol.[7] In 2002, the WAP Forum was consolidated (along with many other forums of the industry) into Open Mobile Alliance (OMA).[8]

Europe

The first company to launch a WAP site was Dutch mobile phone operator Telfort BV in October 1999. The site was developed as a side project by Christopher Bee and Euan McLeod and launched with the debut of the Nokia 7110. Marketers hyped WAP at the time of its introduction,[9] leading users to expect WAP to have the performance of fixed (non-mobile) Internet access. BT Cellnet, one of the UK telecoms, ran an advertising campaign depicting a cartoon WAP user surfing through a Neuromancer-like "information space".[10] In terms of speed, ease of use, appearance and interoperability, the reality fell far short of expectations when the first handsets became available in 1999.[11][12] This led to the wide usage of sardonic phrases such as "Worthless Application Protocol",[13] "Wait And Pay",[14] and WAPlash.[15]

Between 2003 and 2004 WAP made a stronger resurgence with the introduction of wireless services (such as Vodafone Live!, T-Mobile T-Zones and other easily accessible services). Operator revenues were generated by transfer of GPRS and UMTS data, which is a different business model than used by the traditional Web sites and ISPs. According to the Mobile Data Association, WAP traffic in the UK doubled from 2003 to 2004.[16]

By the year 2013, WAP use had largely disappeared. Most major companies and websites have since retired from the use of WAP and it has not been a mainstream technology for web on mobile for a number of years.

Most modern handset internet browsers now support full HTML, CSS, and most of JavaScript, and do not need to use any kind of WAP markup for webpage compatibility. The list of handsets supporting HTML is extensive, and includes all Android handsets, all versions of the iPhone handset, all Blackberry devices, all devices running Windows Phone, and many Nokia handsets.

Asia

WAP saw major success in Japan. While the largest operator NTT DoCoMo did not use WAP in favor of its in-house system i-mode, rival operators KDDI (au) and SoftBank Mobile (previously Vodafone Japan) both successfully deployed WAP technology. In particular, (au)'s chakuuta or chakumovie (ringtone song or ringtone movie) services were based on WAP. Like in Europe, WAP and i-mode usage declined in the 2010s as HTML-capable smartphones became popular in Japan.

United States

Adoption of WAP in the United States of America suffered because many cell phone providers required separate activation and additional fees for data support, and also because telecommunications companies sought to limit data access to only approved data providers operating under license of the signal carrier.[citation needed]

In recognition of the problem, the US Federal Communications Commission (FCC) issued an order on 31 July 2007 which mandated that licensees of the 22-megahertz wide "Upper 700 MHz C Block" spectrum would have to implement a wireless platform which allows customers, device manufacturers, third-party application developers, and others to use any device or application of their choice when operating on this particular licensed network band.[17][18]

Criticism

Commentators criticized several aspects of Wireless Markup Language (WML) and WAP. Technical criticisms include:

  • The idiosyncratic WML language: WML cut users off from the conventional HTML Web, leaving only native WAP content and Web-to-WAP proxi-content available to WAP users. However, others argue[who?] that technology at that stage would simply not have been able to give access to anything but custom-designed content which was the sole purpose of WAP and its simple, reduced complexity interface as the citizens of many nations are not connected to the web at the present time and have to use government funded and controlled portals to WAP and similar non-complex services.
  • Under-specification of terminal requirements: The early WAP standards included many optional features and under-specified requirements, which meant that compliant devices would not necessarily interoperate properly. This resulted in great variability in the actual behavior of phones, principally because WAP-service implementers and mobile-phone manufacturers did not[citation needed] obtain a copy of the standards or the correct hardware and the standard software modules. As an example, some phone models would not accept a page more than 1 Kb in size, and some would even crash. The user interface of devices was also underspecified: as an example, accesskeys (e.g., the ability to press '4' to access directly the fourth link in a list) were variously implemented depending on phone models (sometimes with the accesskey number automatically displayed by the browser next to the link, sometimes without it, and sometimes accesskeys were not implemented at all).
  • Constrained user interface capabilities: Terminals with small black-and-white screens and few buttons, like the early WAP terminals, face difficulties in presenting a lot of information to their user, which compounded the other problems: one would have had to be extra careful in designing the user interface on such a resource-constrained device which was the real concept of WAP.
  • Lack of good authoring tools: The problems above might have succumbed in the face of a WML authoring tool that would have allowed content providers to easily publish content that would interoperate flawlessly with many models, adapting the pages presented to the User-Agent type. However, the development kits which existed did not provide such a general capability. Developing for the web was easy: with a text editor and a web browser, anybody could get started, thanks also to the forgiving nature of most desktop browser rendering engines. By contrast, the stringent requirements of the WML specifications, the variability in terminals, and the demands of testing on various wireless terminals, along with the lack of widely available desktop authoring and emulation tools, considerably lengthened the time required to complete most projects. (As of 2009), however, with many mobile devices supporting XHTML, and programs such as Adobe Go Live and Dreamweaver offering improved web-authoring tools, it is becoming easier to create content, accessible by many new devices.
  • Lack of user agent profiling tools: It quickly became nearly impossible for web hosts to determine if a request came from a mobile device, or from a larger more capable device. No useful profiling or database of device capabilities were built into the specifications in the unauthorized non-compliant products.[citation needed]

Other criticisms address the wireless carriers' particular implementations of WAP:

  • Neglect of content providers: Some wireless carriers had assumed a "build it and they will come" strategy, meaning that they would just provide the transport of data as well as the terminals, and then wait for content providers to publish their services on the Internet and make their investment in WAP useful. However, content providers received little help or incentive to go through the complicated route of development. Others, notably in Japan (cf. below), had a more thorough dialogue with their content-provider community, which was then replicated in modern, more successful WAP services such as i-mode in Japan or the Gallery service in France.[19]
  • Lack of openness: Many wireless carriers sold their WAP services as "open", in that they allowed users to reach any service expressed in WML and published on the Internet. However, they also made sure that the first page that clients accessed was their own "wireless portal", which they controlled very closely. Some carriers also turned off editing or accessing the address bar in the device's browser. To facilitate users wanting to go off deck, an address bar on a form on a page linked off the hard coded home page was provided. It makes it easier for carriers to implement filtering of off deck WML sites by URLs or to disable the address bar in the future if the carrier decides to switch all users to a walled garden model. Given the difficulty in typing up fully qualified URLs on a phone keyboard, most users would give up going "off portal" or out of the walled garden; by not letting third parties put their own entries on the operators' wireless portal, some[who?] contend that operators cut themselves off from a valuable opportunity. On the other hand, some operators[which?] argue that their customers would have wanted them to manage the experience and, on such a constrained device, avoid giving access to too many services.[citation needed]

Protocol design lessons from WAP

The original WAP model provided a simple platform for access to web-like WML services and e-mail using mobile phones in Europe and the SE Asian regions. In 2009 it continued to have a considerable user base. The later versions of WAP, primarily targeting the United States market, were designed by Daniel Tilden of Bell Labs for a different requirement - to enable full web XHTML access using mobile devices with a higher specification and cost, and with a higher degree of software complexity.

Considerable discussion has addressed the question whether the WAP protocol design was appropriate.

The initial design of WAP specifically aimed at protocol independence across a range of different protocols (SMS, IP over PPP over a circuit switched bearer, IP over GPRS, etc.). This has led to a protocol considerably more complex than an approach directly over IP might have caused.

Most controversial, especially for many from the IP side, was the design of WAP over IP. WAP's transmission layer protocol, WTP, uses its own retransmission mechanisms over UDP to attempt to solve the problem of the inadequacy of TCP over high-packet-loss networks.[citation needed]

See also

References

  1. Sharma, Chetan; Nakamura, Yasuhisa (2003-11-20). Wireless Data Services: Technologies, Business Models and Global Markets. Cambridge University Press. p. 194. ISBN 978-0-521-82843-7. https://archive.org/details/wirelessdataserv0000shar_s7b4. 
  2. "Fast Track to Mobile Telephony" (in en) (text). Jasubhai Digital Media. Jan 2006. https://archive.org/details/200601MobileTelephony. 
  3. Krishnaswamy, Sankara. "Wireless Communication Methodologies & Wireless Application Protocol". https://www.rivier.edu/faculty/vriabov/cs553a_Project_SKrishnaswamy.pdf. 
  4. MX Telecom: WAP Push.
  5. 5.0 5.1 5.2 Openwave: WAP Push Technology Overview.
  6. Nokia Press Release Jan 8, 1998: Ericsson, Motorola, Nokia and Unwired Planet establish Wireless Application Protocol Forum Ltd.
  7. "A brief History of WAP". HCI blog. December 8, 2004. http://inspiredbloggers.blogspot.com/2004/12/brief-history-of-wap_110252445307049372.html. 
  8. "About OMA SpecWorks - OMA SpecWorks". http://www.openmobilealliance.org/AboutOMA/FAQ.aspx. 
  9. Will Wap's call go unanswered? vnunet.com, 2 June 2000
  10. Silicon.com: BT Cellnet rapped over 'misleading' WAP ads Published 3 November 2000, retrieved 17 September 2008
  11. http://press.nokia.com/PR/199902/777256_5.html Nokia 7110 Press Release
  12. http://www.filibeto.org/mobile/firmware.html Nokia 7110 first public firmware revision date
  13. Butters, George (23 September 2005). "The Globe and Mail: "Survivor's guide to wireless wonkery", 23 September 2005". The Globe and Mail. https://www.theglobeandmail.com/technology/survivors-guide-to-wireless-wonkery/article20425869/. 
  14. IT Web: "A RIVR runs through it", 14 November 2000
  15. "WAPlash". http://wordspy.com/words/WAPlash.asp. 
  16. "News, Tips, and Advice for Technology Professionals". http://www.builderau.com.au/news/soa/UK-WAP-usage-doubles-in-12-months/0,339028227,339130400,00.htm. 
  17. US Federal Communications Commission."FCC Revises 700 MHz Rules to Advance Interoperable Public Safety Communications and Promote Wireless Broadband Deployment", July 31, 2007. Accessed October 8, 2007.
  18. Alternate link to "FCC Revises 700 MHz Rules to Advance Interoperable Public Safety Communications and Promote Wireless Broadband Deployment"
  19. "Gallery : Moteur de recherche de l'internet mobile". 2008-08-20. http://www.gallery.fr/.