Wireless Application Protocol (WAP)

The Wireless Application Protocol (WAP) is a protocol stack designed specifically for wireless devices. Whereas 802.11 networks are similar in character to other forms of Ethernet, WAP is significantly different from ordinary TCP/IP. WAP is actually a specification for the upper application-related protocol layers. WAP was designed for delivering information to and from mobile handheld devices.

The protocols of the WAP stack are tailored to the needs and influences of the wireless world. The WAP specification includes a markup language called Wireless Markup Language (WML) that is based on XML but specifically designed to provide the features necessary for constructing Web content for the small screens of handheld devices. WAP provides its own protocol layers that are roughly modeled on the upper layers of the OSI stack. The designers, however, did not mind diverging from strict OSI conformance to address the particular needs of the wireless environment.

The WAP protocol layers, and the protocols associated with those layers, are shown in Figure 23.6. Like the other protocols described in this book, the WAP protocols describe a specification that is then implemented by vendors, who create the actual software. The WAP protocols include the following:

  • WAP Session Protocol (WSP) The WAP equivalent of HTTP. WSP provides a system for exchanging data between applications.

  • WAP Transaction Protocol (WTP) A protocol that provides handshake and acknowledgement services to initiate and confirm WAP transactions.

  • WAP Transaction Layer Security (WTLS) A security protocol modeled on SSL (see Hour 20, "TCP/IP Security").

  • WAP Datagram Transport Protocol (WDP) A connectionless Transport layer protocol modeled on UDP (see Hour 6, "The Transport Layer").

The WAP protocols represent the upper layers of the protocol stack. Note that WDP is similar to the UDP protocol, which resides on the Transport layer of TCP/IP's stack. The WAP stack therefore resides mostly at the TCP/IP Application layer. However, the real relationship of WAP with TCP/IP is a bit more complex.

Because wireless networks are inherently slower and less reliable than cable-based networks, the WAP protocols are designed to deliver maximum performance. Some WAP protocols are in a binary format that must be translated to the text-based format of the TCP/IP protocols for the WAP device to receive Internet-related data transmissions. A device called a WAP gateway translates the WAP protocol information to an Internet-compatible format (see Figure 22.7).

Figure 22.7. A WAP gateway translates the WAP protocol information to an Internet-compatible format.

graphics/22fig07.gif

The WAP suite includes other related protocols and languages not depicted in Figure 22.6, such as WMLScript (a scripting language) and WBMP (a bitmap format).

Figure 22.6. The WAP protocol stack.

graphics/22fig06.gif

More recent WAP standards have proposed greater compatibility with TCP/IP and also greater compatibility with XML and HTML through XHTML, which will replace WML as the WAP markup language.



Sams Teach Yourself TCP/IP in 24 Hours
Sams Teach Yourself TCP/IP in 24 Hours (4th Edition)
ISBN: 0672329964
EAN: 2147483647
Year: 2003
Pages: 259
Authors: Joe Casad

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net