How to send a wml through wap push? | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through March 07, 2006 ⬆ |
◄ ► |
Author | Message | |||
Matao New member Username: Wudai Post Number: 1 Registered: 04-2005 |
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 |
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 |
i use the wap connnectionless port My WDP header is 0605040B8423F0 | |||
Anonymous |
deleted by admin 646 |