You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Diego <di...@tiscalinet.it> on 2006/02/21 11:43:07 UTC

[axis2 v0.93] client timeout setting

Hi everybody!

I'm using Axis2 v0.93 and I'm implementing a client that has to execute 
a web service that can take up to 5 minutes.  Since the default timeout 
is set to 2000 ms I usually get the following exception:

java.net.SocketTimeoutException: Read timed out.

I've read some previous messages regarding this topic and I know that I 
can use two separate listeners with a callback.  But I was wondering, 
what if I increase the timeout with setTimeOutInMilliSeconds()?  I've 
tried and it doesn't seem to actually modify it.  There is no other 
solution than using two separate listeners?

Thanks for you help!

Diego