BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-17-2009, 04:56 AM   #1 (permalink)
New Member
Join Date: Feb 2009
Model: 8800
Carrier: mobilink
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Service Time Out

Please Login to Remove!

I have successfully used JSR172 and Sun's stub generator to access my web services and it works very nicely. The only hitch I see is that if for some reason ( not very likely but I'd like to handle it anyway ) the Blackberry client connects to the service by never receives a response, then Time out Expire message come.

Is there a way to set a time out, since it doesn't seem to fall through normal error trapping

I suppose I could kill the thread after a certain amount of time but that seems rude and would likely cause other problems

This is at the point where the JSR172 Invoke api is called.


Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.