Dear sir,

 I am trying to configure kannel for wappush through my java application. I
am using openwave apis for pushing the messages. Whenever I am trying it I
am always getting an exception. as below... Below is the print of my java
application logs.

 

        >>   POST /wappush HTTP/1.1
        >>   Host: localhost
        >>   User-Agent: Openwave WAP Push Library, Java Edition 1.5
        >>   Content-Type: multipart/related; type=application/xml;
boundary=WPL4woVbhES
        dfalYevGqpdzLCs
        >>   Content-Length: 849
        >>
        >>   --WPL4woVbhESdfalYevGqpdzLCs
        >>   Content-Type: application/xml; charset=UTF-8
        >>
        >>   <?xml version="1.0"?>
        >>   <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
"http://www.wapforum.or
        g/DTD/pap_1.0.dtd">
        >>   <pap>
        >>   <push-message push-id="1073882801206">
        >>   <address
address-value="WAPPUSH=+919810310973/[EMAIL PROTECTED]"/>
        >>   <quality-of-service priority="high"
delivery-method="unconfirmed" network="
        GSM" network-required="true" bearer="SMS" bearer-required="true"/>
        >>   </push-message>
        >>   </pap>
        >>   --WPL4woVbhESdfalYevGqpdzLCs
        >>   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.yahoo.com/"; action="signal-high">
        >>   WapPush Message. Please inform Nishant at 2157
        >>   </indication>
        >>   </si>
        >>   --WPL4woVbhESdfalYevGqpdzLCs--
        <<   HTTP/1.1 202 Foo
        <<   Server: Kannel/1.2.1
        <<   Content-Length: 390
        <<   Content-Type: application/xml
        <<
        <<   <?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP
1.0//EN" "h
        ttp://www.wapforum.org/DTD/pap_1.0.dtd"><pap><push-response
push-id="10738828012
        06" sender-name="delgtel103; WAP/1.3 (Kannel/1.2.1)"
reply-time="2004-01-12T04:4
        6:43Z" sender-address="/wappush"></push-response><response-result
code ="1001" d
        esc="The request has been accepted for
processing"></response-result></pap>
        com.openwave.wappush.WapPushException: Connection timed out: connect
                at
com.openwave.wappush.ResponseBuilder.parseContent(ResponseBuilder.jav
        a:114)
                at
com.openwave.wappush.PushResponseBuilder.build(PushResponseBuilder.ja
        va:77)
                at com.openwave.wappush.Pusher.send(Pusher.java:239)
                at push.test.PushTest.testServiceIndicator(PushTest.java:96)
                at push.test.PushTest.main(PushTest.java:130) 


If you have any idea abt this please revert back to me.

thanks and regards
nishant

Reply via email to