Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Time out in WS call??  RSS feed

 
Venkatesh Rangamani
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I have a need where i call a webservice and if say the web service method call doesnot return in 5 mins, for ex: The esposed web service method has a code bug & runs into an infinite loop and never returns, then i need to break the web service call abruptly and proceed further. Are there any ways to acheive this? Any Suggestions??

Thanks,
Venkat
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Call.setTimeout() should help
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!