What I am using is a perl program that is auto generating the SI and the
PAP control xml files. I will send you the data I have captured using
ethereal on the actual post to my test PPG. The perl script is from the
Openwave website. If you want me to send that also, I can, but I have
not made very many changes from the examples he gives on his page. Most
changes are port and IP configuration and tweaks to attempt to get this
through my PPG.
Frame 43 (369 bytes on wire, 369 bytes captured)
Arrival Time: Jun 29, 2005 11:32:27.726389000
Time delta from previous packet: 0.079323000 seconds
Time since reference or first frame: 5.167357000 seconds
Frame Number: 43
Packet Length: 369 bytes
Capture Length: 369 bytes
Ethernet II, Src: 00:0e:7f:15:41:00, Dst: 00:0d:9d:fe:1b:57
Destination: 00:0d:9d:fe:1b:57 (HewlettP_fe:1b:57)
Source: 00:0e:7f:15:41:00 (HewlettP_15:41:00)
Type: IP (0x0800)
Internet Protocol, Src Addr: 192.168.1.118 (192.168.1.118), Dst Addr:
10.1.10.14 (10.1.10.14)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 355
Identification: 0xb46c (46188)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 126
Protocol: TCP (0x06)
Header checksum: 0x70fb (correct)
Source: 192.168.1.118 (192.168.1.118)
Destination: 10.1.10.14 (10.1.10.14)
Transmission Control Protocol, Src Port: 4044 (4044), Dst Port: webcache
(8080), Seq: 1, Ack: 1, Len: 315
Source port: 4044 (4044)
Destination port: webcache (8080)
Sequence number: 1 (relative sequence number)
Next sequence number: 316 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 20 bytes
Flags: 0x0018 (PSH, ACK)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 .... = Acknowledgment: Set
.... 1... = Push: Set
.... .0.. = Reset: Not set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 33580
Checksum: 0x537e (correct)
Hypertext Transfer Protocol
POST /cgi-bin/wap-push.cgi HTTP/1.1\r\n
Request Method: POST
TE: deflate,gzip;q=0.3\r\n
Connection: TE, close\r\n
Host: 10.1.10.14:8080\r\n
User-Agent: libwww-perl/5.803\r\n
Content-Type: multipart/related; boundary=asdlfkjiurwghasf;
type="application/xml";charset=ISO-8859-1\r\n
X-WAP-Application-Id: http://www.wiral.com:wml.ua\r\n
Content-Length: 817\r\n
\r\n
Frame 47 (871 bytes on wire, 871 bytes captured)
Arrival Time: Jun 29, 2005 11:32:27.727570000
Time delta from previous packet: 0.000268000 seconds
Time since reference or first frame: 5.168538000 seconds
Frame Number: 47
Packet Length: 871 bytes
Capture Length: 871 bytes
Ethernet II, Src: 00:0e:7f:15:41:00, Dst: 00:0d:9d:fe:1b:57
Destination: 00:0d:9d:fe:1b:57 (HewlettP_fe:1b:57)
Source: 00:0e:7f:15:41:00 (HewlettP_15:41:00)
Type: IP (0x0800)
Internet Protocol, Src Addr: 192.168.1.118 (192.168.1.118), Dst Addr:
10.1.10.14 (10.1.10.14)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 857
Identification: 0xb46f (46191)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 126
Protocol: TCP (0x06)
Header checksum: 0x6f02 (correct)
Source: 192.168.1.118 (192.168.1.118)
Destination: 10.1.10.14 (10.1.10.14)
Transmission Control Protocol, Src Port: 4044 (4044), Dst Port: webcache
(8080), Seq: 316, Ack: 1, Len: 817
Source port: 4044 (4044)
Destination port: webcache (8080)
Sequence number: 316 (relative sequence number)
Next sequence number: 1133 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 20 bytes
Flags: 0x0018 (PSH, ACK)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 .... = Acknowledgment: Set
.... 1... = Push: Set
.... .0.. = Reset: Not set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 33580
Checksum: 0x8e8c (correct)
Hypertext Transfer Protocol
Data (817 bytes)
0000 2d 2d 61 73 64 6c 66 6b 6a 69 75 72 77 67 68 61 --asdlfkjiurwgha
0010 73 66 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a sf.Content-Type:
0020 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 6d 6c application/xml
0030 5c 72 5c 6e 0a 5c 72 5c 6e 0a 3c 3f 78 6d 6c 20 \r\n.\r\n.<?xml
0040 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a version="1.0"?>.
0050 3c 21 44 4f 43 54 59 50 45 20 70 61 70 20 50 55 <!DOCTYPE pap PU
0060 42 4c 49 43 20 22 2d 2f 2f 57 41 50 46 4f 52 55 BLIC "-//WAPFORU
0070 4d 2f 2f 44 54 44 20 50 41 50 20 31 2e 30 2f 2f M//DTD PAP 1.0//
0080 45 4e 22 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e EN" "http://www.
0090 77 61 70 66 6f 72 75 6d 2e 6f 72 67 2f 44 54 44 wapforum.org/DTD
00a0 2f 70 61 70 5f 31 2e 30 2e 64 74 64 22 3e 0a 20 /pap_1.0.dtd">.
00b0 20 20 20 20 20 20 20 3c 70 61 70 20 70 72 6f 64 <pap prod
00c0 75 63 74 2d 6e 61 6d 65 3d 22 50 75 73 68 20 49 uct-name="Push I
00d0 6e 69 74 69 61 74 6f 72 22 3e 0a 20 20 20 20 20 nitiator">.
00e0 20 20 20 20 20 20 20 20 20 20 20 3c 70 75 73 68 <push
00f0 2d 6d 65 73 73 61 67 65 20 70 75 73 68 2d 69 64 -message push-id
0100 3d 22 74 65 73 74 70 75 73 68 2d 31 33 39 22 20 ="testpush-139"
0110 70 72 6f 67 72 65 73 73 2d 6e 6f 74 65 73 2d 72 progress-notes-r
0120 65 71 75 65 73 74 65 64 3d 22 66 61 6c 73 65 22 equested="false"
0130 3e 09 0a 20 20 20 20 20 20 3c 61 64 64 72 65 73 >.. <addres
0140 73 20 61 64 64 72 65 73 73 2d 76 61 6c 75 65 3d s address-value=
0150 22 57 41 50 50 55 53 48 3d 2b 31 32 31 37 37 34 "WAPPUSH=+121774
0160 30 35 32 30 34 2f 54 59 50 45 3d 55 53 45 52 40 05204/TYPE=USER@
0170 70 70 67 2e 70 68 6f 6e 65 2e 63 6f 6d 22 2f 3e ppg.phone.com"/>
0180 0a 09 3c 71 75 61 6c 69 74 79 2d 6f 66 2d 73 65 ..<quality-of-se
0190 72 76 69 63 65 20 64 65 6c 69 76 65 72 79 2d 6d rvice delivery-m
01a0 65 74 68 6f 64 3d 22 75 6e 63 6f 6e 66 69 72 6d ethod="unconfirm
01b0 65 64 22 20 62 65 61 72 65 72 3d 22 53 4d 53 22 ed" bearer="SMS"
01c0 20 62 65 61 72 65 72 2d 72 65 71 75 69 72 65 64 bearer-required
01d0 3d 22 74 72 75 65 22 2f 3e 3c 2f 70 75 73 68 2d ="true"/></push-
01e0 6d 65 73 73 61 67 65 3e 0a 20 20 20 20 20 20 20 message>.
01f0 20 3c 2f 70 61 70 3e 0a 09 0d 0a 2d 2d 61 73 64 </pap>....--asd
0200 6c 66 6b 6a 69 75 72 77 67 68 61 73 66 5c 72 5c lfkjiurwghasf\r\
0210 6e 0a 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 n.Content-type:
0220 74 65 78 74 2f 76 6e 64 2e 77 61 70 2e 73 69 0a text/vnd.wap.si.
0230 0a 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 .<?xml version="
0240 31 2e 30 22 3f 3e 0a 3c 21 44 4f 43 54 59 50 45 1.0"?>.<!DOCTYPE
0250 20 73 69 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 si PUBLIC "-//W
0260 41 50 46 4f 52 55 4d 2f 2f 44 54 44 20 53 49 20 APFORUM//DTD SI
0270 31 2e 30 2f 2f 45 4e 22 20 22 68 74 74 70 3a 2f 1.0//EN" "http:/
0280 2f 77 77 77 2e 77 61 70 66 6f 72 75 6d 2e 6f 72 /www.wapforum.or
0290 67 2f 44 54 44 2f 73 69 2e 64 74 64 22 3e 0a 20 g/DTD/si.dtd">.
02a0 20 20 20 20 20 20 20 3c 73 69 3e 0a 20 20 20 20 <si>.
02b0 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6e 64 <ind
02c0 69 63 61 74 69 6f 6e 20 73 69 2d 69 64 3d 22 31 ication si-id="1
02d0 22 20 68 72 65 66 3d 22 77 61 70 2e 73 69 6d 6d " href="wap.simm
02e0 65 74 72 79 70 63 73 2e 63 6f 6d 22 20 61 63 74 etrypcs.com" act
02f0 69 6f 6e 3d 22 73 69 67 6e 61 6c 2d 68 69 67 68 ion="signal-high
0300 22 3e 54 65 73 74 20 50 61 67 65 3c 2f 69 6e 64 ">Test Page</ind
0310 69 63 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 ication>.
0320 20 3c 2f 73 69 3e 0a 20 20 20 20 20 20 20 20 0d </si>. .
0330 0a .
Jeffery Sharrow
TMP Corp. dba Simmetry Communications