• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Set timeout for JAXWS webservice response  RSS feed

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to set a timeout for less number of data coming from webservice as well as larger number data coming from same webservice, in this case whether it is advisable to make the change by writing a logic to set 2 timeouts , for example for less number of data coming from webservice1  set timeout to default 1 min in Jaxws and for larger number of data from the same Webservice1 set the timeout to 3 mins? Whether it makes sense or it is better to set a flat timeout , common timeout for the both less and large data as a whole to 3 mins? this will be irrespective of the data load.

If the option 2 (flat timeout value) is better , what will happen if we get the response for less number of data  in seconds , whether it will have any side effects as we have set the timeout to 3 mins? Which is the best option we need to choose here. Thanks in advance.  

Thanks
 
Rithanya Laxmi
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Experts, any update on this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!