This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Overriding JAXWS Time out value programmatically  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I want to configure the time out value for the connection of my web service client with webservice programmatically because I want to control the response time of web services on my own.

I found the following link :

http://www.websphere-world.com/modules.php?name=News&file=article&sid=2058

It says, there are three types of timeout values :

1. CONNECTION_TIMEOUT: The amount of time WebSphere JAX-WS client would wait to establish a http/https connection (default is 180 seconds)

2. WRITE_TIMEOUT: The amount of time the client would wait to finish sending the request (default is 300 seconds)

3. RESPONSE_TIMEOUT: The amount of time the client would wait to finish receiving the response (default is 300 seconds)

I strongly feel i should be overriding RESPONSE_TIMEOUT but I'm not sure whether overriding just the RESPONSE_TIMEOUT will be the cumulative sum of all 3 timeout settings?

Can you please let us know if I am right ?


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!