BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   ksoap2 and http Push (http://www.blackberryforums.com/developer-forum/202215-ksoap2-http-push.html)

diego2k 08-26-2009 07:50 AM

ksoap2 and http Push
 
Hello,

when i use ksoap2 i cant get a push....
the Push App posts: java.io.IOException: Server returned HTTP response code: 400 for

when i first use Push and then ksoap ... ksoap works ...

as soon as I use ksoap Pushh no longer works ...
i have to close the app ... befor i can receive push again ....

The Push App:
InputStream ins =conn.getInputStream(); <- Error Code 400

when i only type this in the url of a browser:
h t tp: / /192.168.0.140:8080/push?DESTINATION=2100000A&PORT=100&REQUESTURI=129. 168.0.140

i geht an emty push in my Blackberry app....

diego2k 08-26-2009 08:49 AM

soooo

if i press the red Button .. go to the Browser and open a website ... then the Push works again ...

how can i do this in the Code ?


All times are GMT -5. The time now is 10:29 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.