
The Display Push Type
Issue 1 April 2005 35
Display Push Example 2:
Using our previous hotel example, the hotel is ready to serve lunch and wants to send the lunch
menu directly to each room’s telephone display screen, including sounding an alert to get the
guest’s attention. The XML payload sent as part of the Push Message is as follows:
Push Agent
Once a Push Message is received from the Push Initiator, the Push Agent first parses the XML
file for validation and tags mismatch errors. Then the Push Agent verifies that the URL in the
<go> tag is part of the Trusted Push Servers. Then the Push Agent requests the Push Content
from the Trusted Push Server using the URL.
Note: For more information on Trusted Push Servers, see Chapter 4: Push
Administration.
<!– Following is the XML Push Request Message sent as a POST request embedded as part of form data -->
XMLData = <?xml version="1.0"?>
<Push alert=“2” type=“display” mode=“normal”>
<go href=“http://trusted_push_server/lunch_menu.wml” method=“get”>
</go>
</Push>
<!– The above message is part of the form data (XMLData) being sent in Step 1 request -->
Komentarze do niniejszej Instrukcji