18
Wireless Application Protocol

Wireless Application Protocol

Embed Size (px)

DESCRIPTION

Wireless Application Protocol. WAP- Wireless Application Protocol. Deck. WML. Content. HTTP. Server. Browser. WEB. WAP. Gateway. WAP. IP. WAP browsing exchange. WAP Gateway. Card1. Deck & History. Content/ Application. Browser. Web server. Within deck. Initial card. - PowerPoint PPT Presentation

Citation preview

Page 1: Wireless Application Protocol

Wireless Application Protocol

Page 2: Wireless Application Protocol

WAP- Wireless Application Protocol

GatewayWAPWEB

Server

Content

BrowserHTTP

IPWAP

Deck WML

Page 3: Wireless Application Protocol

WAP browsing exchange

Card1Deck &History

BrowserWAP

Gateway Web server Content/ApplicationDial

connection

Initial URLInitial URL Initial URL

Initial deck

Initial deckInitial deck

Initial deck

Initial card

Within deck

scripting

HREFHREF URL

HREF URLHREF URL

New deckNew deckNew deck

New deckNew cards

CardX phone

WTAIDrop

Dialconnection

Page 4: Wireless Application Protocol

WAP Protocol Stack

Wireless Markup Language

WAP Binary XML Content Format

Wireless Session Protocol (incl. HTTP1.1)

Wireless Transaction Protocol

Wireless Transport Layer Security

Wireless Datagram Protocol (or UDP)

bearers

HTML

HTTP

TCP

IP

Page 5: Wireless Application Protocol

Samples

Page 6: Wireless Application Protocol

Wireless Markup Language - WML

• XML based Language• Emphasis, Alignment, Tables• Buttons (Navigation mechanisms)• Actions• Variables• Script• Images - WBMP & local & alternate text

Page 7: Wireless Application Protocol

Wireless Markup Language

Prologue (XML/WML version)

DeckTemplate (defaults for cards in deck)

Card…Do…Paragraphs

Input

Page 8: Wireless Application Protocol

Sample deck<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"

"http://www.wapforum.org/DTD/wml_1.1.xml"><wml><template>

<do type="options" label="Help"><go href="#helpcard" />

</do><!- - <do type="options" label="Back"><prev/></do> -->

</template><card id="intro" title="Intro">

<do type="accept" label="Go!" optional="false"><go href="#startcard"/> </do>

<p>Welcome to myWAP!</p></card><card id="startcard" title="Content"><p>In the wonderful world of <em>WAP</em>, there is much intro, but no content.</p></card><card id="helpcard" title="Help"><p>As usual, no help is available</p></card>

</wml>

Page 9: Wireless Application Protocol

More examples

Phone.comMicrosoft

Accept

Back

Page 10: Wireless Application Protocol

Form processing<wml><card id="login" title="login"> <onevent type="onenterbackward"><prev/></onevent> <do type="accept" label="outbox" optional="false"> <go href="#outbox"/> </do> <p><img localsrc="outbox" src="" alt=""/>To:<input name="email" emptyok="false" maxlength="128" format="*a\@*a"/><br/>Password: <input name="pwd" type="password" maxlength="32" format="*N"/></p></card> <card id="outbox" title="Outbox" ontimer="#send"> <onevent type="onenterbackward"><prev/></onevent> <timer name="thinktime" value="100"/> <do type="accept" label="send"><go href="#send"/> </do> <p>Send '$(pwd)' to $(email)?</p></card> <card id="send"> <onevent type="onenterforward"> <go href="http://mango/cgi-bin/wap-send-email.sh?$(email)"/></onevent> <onevent type="onenterbackward"><prev/></onevent> <p>Failed to send to $(email).</p></card></wml>

Page 11: Wireless Application Protocol

Dynamic WML

Same techniques as for HTML, but set content-type

Detect agent type (name, supports, …)Cookies & rewritingAvailable buttons, e.g. backScreen sizeImage support

Page 12: Wireless Application Protocol

Gateways

• Identity• Compilation• Size restriction• Speed• Limit of size of the WEB accessible

gateway CaptiveWEB

wireless

Compress+Security cookies

Page 13: Wireless Application Protocol

Browsers

PhonesPDAsSimulators

Page 14: Wireless Application Protocol

Browser consistency• Buttons• Cookies• History• Timers• FILE://• Cache bugs• Images• Bold/italic,…

• WMLscript• POST method• WTAI• Security• WML compilation• Proxy authentication

Page 15: Wireless Application Protocol

Limitations of technology

Screen size, resolution, colourInput devicesBandwidthLatencyDeck size

Page 16: Wireless Application Protocol

Future

More bandwidth (3G wireless)- • GPRS - General Packet Radio Service• UMTS - Universal Mobile Telecom SystemUser Agent ProfilesSecurityLocation determinationLocal services/always on

Page 17: Wireless Application Protocol

Alternative

NTT DoCoMo ‘iMode’

Unwired Planet (Phone.com) - HDML

Page 18: Wireless Application Protocol

Referenceshttp://www.wapforum.orghttp://developer.phone.comhttp://forum.nokia.comhttp://mobileinternet.ericsson.sehttp://www.developer.ericsson.com.auhttp://www.winwap.comhttp://www.microsoft.com/mobile/phones/mmehttp://www.nttdocomo.com

citron:/home/horton/doc/WAP/WAP.ppt (these slides)http://mango/home/… (for WML content type)http://zero:81/index.wml