25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example of a WSP-WTP sequence flow<br />

Figure 18-11 depicts the flow of a primitive sequence <strong>and</strong> shows the relationship<br />

between WSP <strong>and</strong> WTP requests <strong>and</strong> responses. The flow is based on a Class 2<br />

transaction which, as defined earlier, is a reliable, confirmed message exchange.<br />

Client<br />

WSP<br />

S-MethodInvoke.req<br />

S-MethodInvoke.cnf<br />

S-MethodResult.ind<br />

S-MethodResult.res<br />

Figure 18-11 WSP-WTP primitive sequence for request-response<br />

The following steps describe the flow of a primitive sequence:<br />

1. The first sequence is initiated through a client application (for example, an<br />

inquiry for a service), which starts with a S-MethodInvoke.req operation to the<br />

server application within a session.<br />

2. The second sequence is a response from the server to confirm to WSP in the<br />

client stack that the invoke message (the inquiry) has been received by the<br />

server.<br />

3. The third sequence returns the result request (reply to the inquiry) from the<br />

server to the client.<br />

4. The fourth sequence confirms the receipt to the server that the reply was<br />

received correctly.<br />

18.9.5 Wireless Session Protocol (WSP)<br />

WSP, defined by the OMA WAP-230-WSP-20010705-a specification,<br />

establishes a reliable session between the client <strong>and</strong> the server <strong>and</strong> releases that<br />

session in an orderly manner. An illustration of a client/server session is in<br />

Figure 18-13 on page 686. WSP session establishment agrees on a common<br />

level of protocol functionality using the capability of negotiation. WSP exchanges<br />

682 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

TR-Invoke.req<br />

TR-Invoke.cnf<br />

TR-Invoke.ind<br />

TR-Invoke.res<br />

WTP<br />

TR-Invoke.ind<br />

TR-Invoke.res<br />

TR-Invoke.req<br />

TR-Invoke.cnf<br />

Server<br />

WSP<br />

S-MethodInvoke.ind<br />

S-MethodInvoke.res<br />

S-MethodResult.req<br />

S-MethodResult.cnf

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!