Home > DeveloperSection > Interviews > How does WML Work?

Posted on    May-20-2011 2:26 AM

 Mobile Development Mobile Development 
 1 Answer(s)
  2023  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    May-20-2011 12:00 AM

The Web request from the phone is first served by the Gateway Server, which generally is provided as part of services from mobile operator's network. However, it is possible to set up a private gateway. The gateway server translates mobile phone requests (WAP) into HTTP requests and sends them to Web server. The Web server processes the request, and sends WML to gateway server, which in turn sends the WML to phone in the binary compressed WML format.

1. Mobile phone sends a Web request
2. Wireless Network provider forwards the request to gateway server.
3. Gateway server sends request to Web server in HTTP format.
4. Web server accesses data, runs ASP/JSP/CGI Script/… pages and generates WML.
5. Web server sends WML back to gateway server as HTTP Response.
6. Gateway server binary compresses WML and sends that to cellular phone as WAP response.
7. Cell phone displays the content.

Don't want to miss updates? Please click the below button!

Follow MindStick