Hi,all,

I am facing a problem on sending the confirmed push message.  Did anybody meet  
this 
before ? If so, please tell me the solution for it. Warning is below:

PPG: handle_push_message: wrong app id for confirmed push session creation


The message sent to ppg as follow:

POST /cgi-bin/wap-push.cgi?username=foo&password=bar HTTP/1.1
Content-Type: multipart/related; boundary=WPL38woVbhESdfalYevGqpdzLCs; 
type="application/xml"
X-Wap-Application-Id: 480
User-Agent: Jakarta Commons-HttpClient/3.0-rc3
Host: 202.108.*.*:8080

--WPL38woVbhESdfalYevGqpdzLCs
Content-Type: application/xml; charset=UTF-8
<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" 
"http://www.wapforum.org/DTD/pap_1.0.dtd";><pap><push-message push-id="480"  
progress-notes-requested="false"><address 
address-value="WAPPUSH=+8613488795096/[EMAIL PROTECTED]"/><quality-of-service 
priority="medium" delivery-method="confirmed"  network-required="false"  
bearer-required="false"/></push-message></pap>
--WPL38woVbhESdfalYevGqpdzLCs
Content-Type: text/vnd.wap.si; charset=UTF-8
<?xml version="1.0"?><!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"  
"http://www.wapforum.org/DTD/si.dtd";><si><indication  
href="http://www.baidu.com"; si-id="480" action="signal-medium">Hi,new 
mail!</indication></si>
--WPL38woVbhESdfalYevGqpdzLCs--


As the message above showing ,I have added the 'X-Wap-Application-Id'  in the 
HTTP Request header,but it does not work at all.What can I do to make cofirmed 
push run finely?
Any reply is appreciated!




Regards,
Yankai


        

        
                
___________________________________________________________ 
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer

Reply via email to