Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web service which does quantitative model checking and an Axis2 client which calls the web service. The web service can take a lot of time (more than a minute). The client works fine when the model is small and service takes less than 30 seconds. But when I call the web service with a larger model I get the AxisFault exception with the message "Read Timed Out". This happens about 30 seconds into the call. Is there a way I change this timeout time to a larger value.

share|improve this question
up vote 0 down vote accepted

I found it out myself. I used this command stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(120000);

Relevant info -



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.