How to send a wml through wap push?

How to send a wml through wap push? SearchSearch
Author Message
Matao
New member
Username: Wudai

Post Number: 1
Registered: 04-2005
Posted on Friday, April 29, 2005 - 09:24 am:   

I've already cleared about sending SI,SL through wap push. But there was something troubled me in sending WML.
I sent a WML push using a modem. And it got the client's status report successfully.But neither a push nor a sms displayed on the client cell phone. It seems to be discarded by the client. Any body can tell what's wrong with my PDU code?
the code is bellow:

UserDataHeader:
0xxx //(any TID)
0x06 //the PDU type is Push
0x18 //the Header length 24
0x94 //the Content type: application/vnd.wap.wmlc
0x81 //Accept-Charset
0xEA //UTF-8
0x45,0x6E,0x63,0x6F,0x64,0x69,0x6E,0x67,0x2D,
0x76,0x65,0x72,0x73,0x69,0x6F,0x6E,0x00,0x31,
0x2E,0x32,0x00 //"Encoding-version=1.2"

UserData:
0x02 //Version number - WBXML version 1.2
0x09 //WML 1.2 Public ID
0x6A //Charset=UTF-8
0x00 //String table length=0
0x7F //wml, with content
0x67 //card, with content
0x03 //Inline string follows
0x74,0x65,0x78,0x74,0x00 //"test"
0x01 //END (of card element)
0x01 //END (of wml element)
Forest Luo
New member
Username: Forest_luo

Post Number: 34
Registered: 04-2004
Posted on Sunday, May 08, 2005 - 12:38 pm:   

How about the listen port.
You know there are some list port of UDP for special application processing.
Matao
New member
Username: Wudai

Post Number: 3
Registered: 04-2005
Posted on Monday, May 09, 2005 - 02:07 am:   

i use the wap connnectionless port
My WDP header is 0605040B8423F0
Anonymous
 
Posted on Monday, March 06, 2006 - 11:33 pm:   

deleted by admin 646