How WAP works



WAP






  1. On your WAP enabled device, you type in the URL for a site, for instance https://www.mobilefish.com/wap

  2. The WAP device sends the request to a WAP gateway. The WAP gateway is the link between the wireless world and the wired world (internet).

  3. The WAP gateway forwards the request to a web server or a WAP server, depending on the URL you have typed in.
    Note: A WAP server is merely a web server and a WAP gateway on the same computer, and it is usually located inside a firewall on the content provider's network (the firewall is optional).

  4. The web server sends the textual requested wml page back to the WAP gateway. If a request is send to a WAP server, it sends a binary formatted wml page back to the WAP gateway.






  5. If a textual requested wml is received by the WAP gateway it compiles the page into tokenized WML, or WMLC. This binary data takes far less space and thus quicker to send. If a binary requested wml is received by the WAP gateway it skips the compilation process.

  6. The WAP gateway sends the binary wml page to the WAP device.

  7. The WAP device de-compiles the wml page and displays it on the device screen.