BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-17-2009, 05:56 AM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8800
PIN: N/A
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.



Thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.