sms wappush2


2007/5/21 16:26:53

WDP = 0605040B8423F00003840101
06 // User Data Header Length
05 // UDH IE: Port numbers
04 // Port number length
0B // Destination port (high)
84 // Destination port (low)
23 // Originating port (high)
F0 // Originating port (low)

WSP = C5060803AE81EAAF82B484
C5 // Push Id
06 // PDU Type Push (07 means Confirmed Push)
08 // Headers Length - the length of the content type and headers
03AE81EA // Content type: application/vnd.wap.sic; charset=utf-8
AF82 //x-wap-application-id: 2
B484// push-flag: 4

02 // Version number - WBXML version 1.2
05 // SI 1.0 Public Identifier
6A // Charset =utf-8 (04 for iso-8859-1 )
00 // String Table Length
45 // si, with content
C6 // indication, with content and attributes
0C // href="http://"
03 // Inline String follows
....... //url
00 //end of url
08 // action=signal-high
01 // close of <indication> attribute list
03 //inline string
.......// UTF-8 string
00 //end of string
01 // End of indication element
01 // End of si element

<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd">
<si>
<indication href="http://http://219.136.255.38/material/ring/20050508/SMF/PPZTSSX00190.mid" action=”signal-high”>
你好
</indication>
</si>

你可能感兴趣的:(xml,IE,WAP)