Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 down vote accepted

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

Relevant info -

_getServiceClient()

getOptions()

share|improve this answer

Your Answer

 
discard

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.