Try and see , this code should work,
 
Kane.

Ajay Kanukuntla <[EMAIL PROTECTED]> wrote:
Hi Kane
 This is with regard to the java application that you have mentioned in the below mail to send the PUSH message. I am also working on an application where I need to write a Java application to send the PUSH message.
 
Can you please send me the Java code that you could successfully run to send the PUSH message?
 
I have been trying to do this but there is some problem with the message. I am getting the following error message. I am attaching the java code and xml file to use with it with the mail, please refer.
 
2006-01-30 19:27:32 [23424] [14] INFO: PPG: Accept request </cgi-bin/wap-push.cgi> from <10.10.10.146>
2006-01-30 19:27:32 [23424] [14] WARNING: erroneous control headers
2006-01-30 19:27:32 [23424] [14] DEBUG: PPG: send_bad_message_response: telling pi
2006-01-30 19:27:32 [23424] [14] DEBUG: HTTP: Resetting HTTPClient for `10.10.10.146'.
2006-01-30 19:27:32 [23424] [14] WARNING: PPG: unable to parse mime content, the request unacceptable
2006-01-30 19:27:32 [23424] [10] DEBUG: HTTP: Destroying HTTPClient area 0x9d96748.
2006-01-30 19:27:32 [23424] [10] DEBUG: HTTP: Destroying HTTPClient for `10.10.10.146'.
 
Thanks
Ajay
 
 
hax Aarno . i have a doubt to how to put this separator in the code. could you please help me ?  I tried to change in some way , but still i'm getting same error .openwave guys says , this error has to solve with kannel. 

I have tried with a java application , it works perfectly . i can send wap push messages. but i dont want to implement any java application. I  need to work with  perl or php. Can some body help me to having wap push application for kannel ?

If some one haveing  , perfect perl or php module to send wap push message , i'm really appreciate to have that please.

Thank you ,
Kane.


Aarno Syvänen <[EMAIL PROTECTED]> wrote:
Hi,
 
it seems that the separator (between  MIME parts) is worng. It should be /r/n.
 
Aarno 
 
On 12 Dec 2005, at 07:48, cool planet wrote:


Hi ,
 
Just for testing i used to send push messages via openwave perl module.
 
kannel wapbox gives following error , why is that ? what is wrong ? i wont receive any push messages to my mobile ?
 
 
 INFO: PPG: Accept request </cgi-bin/wap-push.cgi> from <localhost>
 WARNING: erroneous preamble
 WARNING: PPG: unable to parse mime content, the request unacceptable
 
Thank you ,
Kane.
 

Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
 
--multipartboundary
Content-Type: text/vnd.wap.si; charset=UTF-8


"http://www.wapforum.org/DTD/si.dtd">


si-id="[EMAIL PROTECTED]"
action=""
created="2006-01-11T01:33:09Z"
si-expires="2006-05-11T01:03:00Z">
Get data from server



--multipartboundary
Content-Type: application/xml; charset=UTF-8





deliver-before-timestamp="2006-11-11T06:45:00Z"
deliver-after-timestamp="2006-01-01T06:45:00Z"
progress-notes-requested="false">

priority="high"
delivery-method="unconfirmed"
network-required="true"
network="GSM"
bearer-required="true"
bearer="CSD"/>





--multipartboundary--


Bring words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Attachment: PushInitiator.java
Description: 1191886736-PushInitiator.java

Reply via email to