author | hgs |
Fri, 16 Jul 2010 20:59:58 +0530 | |
changeset 30 | b7f26243ec94 |
parent 29 | 099ef125a1a4 |
permissions | -rw-r--r-- |
29 | 1 |
<!-- |
2 |
Push Access Protocol (PAP) Document Type Definition. |
|
3 |
||
4 |
Copyright Wireless Application Protocol Forum Ltd., 1998,1999. |
|
5 |
All rights reserved. |
|
6 |
||
7 |
PAP is an XML language. Typical usage: |
|
8 |
<?xml version="1.0"?> |
|
9 |
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" |
|
10 |
"http://www.wapforum.org/DTD/pap_1.0.dtd"> |
|
11 |
<pap> |
|
12 |
... |
|
13 |
</pap> |
|
14 |
||
15 |
Terms and conditions of use are available from the Wireless |
|
16 |
Application Protocol Forum Ltd. web site at |
|
17 |
http://www.wapforum.org/docs/copyright.htm. |
|
18 |
--> |
|
19 |
||
20 |
<!ENTITY % Datetime "CDATA"> <!-- ISO date and time --> |
|
21 |
<!ENTITY % State "(rejected | pending |
|
22 |
| delivered | undeliverable |
|
23 |
| expired | aborted |
|
24 |
| timeout | cancelled | unknown)"> |
|
25 |
<!-- PPG Message State --> |
|
26 |
||
27 |
||
28 |
<!ELEMENT pap ( push-message |
|
29 |
| push-response |
|
30 |
| cancel-message |
|
31 |
| cancel-response |
|
32 |
| resultnotification-message |
|
33 |
| resultnotification-response |
|
34 |
| statusquery-message |
|
35 |
| statusquery-response |
|
36 |
| ccq-message |
|
37 |
| ccq-response |
|
38 |
| badmessage-response) > |
|
39 |
<!ATTLIST pap |
|
40 |
product-name CDATA #IMPLIED |
|
41 |
> |
|
42 |
||
43 |
||
44 |
<!-- ========================================= --> |
|
45 |
<!-- Declaration of push submission message --> |
|
46 |
<!-- ========================================= --> |
|
47 |
||
48 |
<!--this message goes from the Push Initiator to the push proxy gateway--> |
|
49 |
||
50 |
<!ELEMENT push-message ( address+, quality-of-service? ) > |
|
51 |
<!ATTLIST push-message |
|
52 |
push-id CDATA #REQUIRED |
|
53 |
deliver-before-timestamp %Datetime; #IMPLIED |
|
54 |
deliver-after-timestamp %Datetime; #IMPLIED |
|
55 |
source-reference CDATA #IMPLIED |
|
56 |
ppg-notify-requested-to CDATA #IMPLIED |
|
57 |
progress-notes-requested ( true | false ) "false" |
|
58 |
> |
|
59 |
||
60 |
<!ELEMENT address EMPTY > |
|
61 |
<!ATTLIST address |
|
62 |
address-value CDATA #REQUIRED |
|
63 |
> |
|
64 |
||
65 |
<!ELEMENT quality-of-service EMPTY > |
|
66 |
<!ATTLIST quality-of-service |
|
67 |
priority ( high | medium | low ) "medium" |
|
68 |
delivery-method ( confirmed | preferconfirmed |
|
69 |
| unconfirmed | notspecified ) "notspecified" |
|
70 |
network CDATA #IMPLIED |
|
71 |
network-required ( true | false ) "false" |
|
72 |
bearer CDATA #IMPLIED |
|
73 |
bearer-required ( true | false ) "false" |
|
74 |
> |
|
75 |
||
76 |
||
77 |
||
78 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
79 |
||
80 |
<!ELEMENT push-response ( progress-note*, response-result ) > |
|
81 |
<!ATTLIST push-response |
|
82 |
push-id CDATA #REQUIRED |
|
83 |
sender-address CDATA #IMPLIED |
|
84 |
sender-name CDATA #IMPLIED |
|
85 |
reply-time %Datetime; #IMPLIED |
|
86 |
> |
|
87 |
||
88 |
<!ELEMENT progress-note EMPTY > |
|
89 |
<!ATTLIST progress-note |
|
90 |
stage CDATA #REQUIRED |
|
91 |
note CDATA #IMPLIED |
|
92 |
time %Datetime; #IMPLIED |
|
93 |
> |
|
94 |
||
95 |
<!ELEMENT response-result EMPTY > |
|
96 |
<!ATTLIST response-result |
|
97 |
code CDATA #REQUIRED |
|
98 |
desc CDATA #IMPLIED |
|
99 |
> |
|
100 |
||
101 |
||
102 |
<!-- ========================================= --> |
|
103 |
<!-- Declaration of cancel operation --> |
|
104 |
<!-- ========================================= --> |
|
105 |
||
106 |
<!--this message goes from the Push Initiator to the push proxy gateway--> |
|
107 |
||
108 |
<!ELEMENT cancel-message ( address* ) > |
|
109 |
<!ATTLIST cancel-message |
|
110 |
push-id CDATA #REQUIRED |
|
111 |
> |
|
112 |
||
113 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
114 |
||
115 |
<!ELEMENT cancel-response ( cancel-result+ ) > |
|
116 |
<!ATTLIST cancel-response |
|
117 |
push-id CDATA #REQUIRED |
|
118 |
> |
|
119 |
||
120 |
<!ELEMENT cancel-result ( address* ) > |
|
121 |
<!ATTLIST cancel-result |
|
122 |
code CDATA #REQUIRED |
|
123 |
desc CDATA #IMPLIED |
|
124 |
> |
|
125 |
||
126 |
||
127 |
<!-- ========================================= --> |
|
128 |
<!-- Declaration of notify result operation --> |
|
129 |
<!-- ========================================= --> |
|
130 |
||
131 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
132 |
||
133 |
<!ELEMENT resultnotification-message ( address, quality-of-service? ) > |
|
134 |
<!ATTLIST resultnotification-message |
|
135 |
push-id CDATA #REQUIRED |
|
136 |
sender-address CDATA #IMPLIED |
|
137 |
sender-name CDATA #IMPLIED |
|
138 |
received-time %Datetime; #IMPLIED |
|
139 |
event-time %Datetime; #IMPLIED |
|
140 |
message-state %State; #REQUIRED |
|
141 |
code CDATA #REQUIRED |
|
142 |
desc CDATA #IMPLIED |
|
143 |
> |
|
144 |
||
145 |
<!--this message goes from the Push Initiator to the push proxy gateway--> |
|
146 |
||
147 |
<!ELEMENT resultnotification-response ( address ) > |
|
148 |
<!ATTLIST resultnotification-response |
|
149 |
push-id CDATA #REQUIRED |
|
150 |
code CDATA #REQUIRED |
|
151 |
desc CDATA #IMPLIED |
|
152 |
> |
|
153 |
||
154 |
||
155 |
<!-- ========================================= --> |
|
156 |
<!-- Declaration of statusquery operation --> |
|
157 |
<!-- ========================================= --> |
|
158 |
||
159 |
<!--this message goes from the Push Initiator to the push proxy gateway--> |
|
160 |
||
161 |
<!ELEMENT statusquery-message ( address* ) > |
|
162 |
<!ATTLIST statusquery-message |
|
163 |
push-id CDATA #REQUIRED |
|
164 |
> |
|
165 |
||
166 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
167 |
||
168 |
<!ELEMENT statusquery-response ( statusquery-result+ ) > |
|
169 |
<!ATTLIST statusquery-response |
|
170 |
push-id CDATA #REQUIRED |
|
171 |
> |
|
172 |
||
173 |
<!ELEMENT statusquery-result ( address*, quality-of-service? ) > |
|
174 |
<!ATTLIST statusquery-result |
|
175 |
event-time %Datetime; #IMPLIED |
|
176 |
message-state %State; #REQUIRED |
|
177 |
code CDATA #REQUIRED |
|
178 |
desc CDATA #IMPLIED |
|
179 |
> |
|
180 |
||
181 |
||
182 |
<!-- ============================================== --> |
|
183 |
<!-- Declaration of capabilities query operation --> |
|
184 |
<!-- ============================================== --> |
|
185 |
||
186 |
<!--this message goes from the Push Initiator to the push proxy gateway--> |
|
187 |
||
188 |
<!ELEMENT ccq-message ( address ) > |
|
189 |
<!ATTLIST ccq-message |
|
190 |
query-id CDATA #IMPLIED |
|
191 |
app-id CDATA #IMPLIED |
|
192 |
> |
|
193 |
||
194 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
195 |
||
196 |
<!ELEMENT ccq-response ( address ) > |
|
197 |
<!ATTLIST ccq-response |
|
198 |
query-id CDATA #IMPLIED |
|
199 |
code CDATA #REQUIRED |
|
200 |
desc CDATA #IMPLIED |
|
201 |
> |
|
202 |
<!-- ============================================== --> |
|
203 |
<!-- Declaration of bad message response message --> |
|
204 |
<!-- ============================================== --> |
|
205 |
||
206 |
||
207 |
<!--this message goes from the push proxy gateway to the Push Initiator--> |
|
208 |
||
209 |
<!ELEMENT badmessage-response EMPTY > |
|
210 |
<!ATTLIST badmessage-response |
|
211 |
bad-message-fragment CDATA #REQUIRED |
|
212 |
> |
|
213 |
||
214 |
<!-- |
|
215 |
Copyright Wireless Application Protocol Forum Ltd., 1998,1999. |
|
216 |
All rights reserved. |
|
0
b16258d2340f
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
217 |
--> |