WAP-Enable IIS

Do you have mobile wireless device users accessing IIS? Walk through the process for WAP-enabling your server, and your users will be able access and send information easily and instantly.

Readers

December 20, 1999

2 Min Read
ITPro Today logo in a gray background | ITPro Today

[Editor's Note: Email your IIS and Site Server solutions (400 words or less) to R2R at [email protected]. We'll edit submissions for style, grammar, and length. If we print your contribution, you'll get $100.]

The Wireless Application Protocol (WAP) is an open, global specification that lets users with mobile wireless devices (e.g., phones, pagers) access and send information easily and instantly. WAP uses the Wireless Markup Language (WML).

WML is similar to HTML, although WML has a different structure. WML consists of a set of units called cards. These cards make up a deck that is written in WML. The cards let users with non-QWERTY keyboards (e.g., mobile phone pads) browse through information. WML also has a smaller set of markup tags than HTML. This smaller set of tags makes WML more appropriate for implementation in wireless devices because their display units are restricted in size and quality.

You don't need to install a new WAP server to use this protocol. You can just WAP-enable IIS. To WAP-enable IIS, follow these steps:

  1. Open the Microsoft Management Console (MMC), and right-click the computer name you want to WAP-enable.

  2. Select Properties.

  3. Under the Computer MIME Map heading in the Internet Information Server tab, click File Type.

  4. Click New Type.

  5. Enter wml in the Associated Extension box.

  6. Enter text/vnd.wap.wml in the Content MIME box.

  7. Repeat steps 1 through 6 for each of the file types you see in Table 1.

After you've WAP-enabled IIS, you can add the functionality of Active Server Pages (ASP) to your .wml documents. At present, .wml documents are static. By adding the asp.dll to create a .wml document, you can create such functional elements as database access and dynamic pages. To create ASP-enabled .wml pages, add the following line to the top of your page (you must complete steps 1 through 7 before adding this code, which only works on .asp files):

<% response.ContentType = "text/vnd.wap.wml" %>

This line forces the server to output a text-based .wml file that the WAP-enabled device can understand.

With the global move toward digital wireless technology, WAP is going to become an important specification in the future. WAP-enabling IIS is easy and fast, and the addition of ASP can result in eye-catching, dynamic information for your wireless technology users.

—Chetan Damani
[email protected]

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like