View Single Post
  #1 (permalink)  
Old 06-25-2007, 10:29 PM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Ed is on a distinguished road
Detect TimeOut in a HttpURL Connection
I'm trying to invoke a web service using HttpURLConnection and I'm doing the post of SOAP requirement

In general it works, but by problems with the WS it that sometimes freezes
My program freeze in the getResponseCode() method
I would need to detect the time out, and then to return an exception or something like that.

Thanks
Reply With Quote
Sponsored Links