06-17-2009, 05:56 AM
Join Date: Feb 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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.