Time out settings for a Web Services Client in Axis2

Posted on March 7, 2012

0


Time out can happen at the client end or the server side …

If you are sure* it is the client end then …

Use setTimeout(int timeoutInMilliseconds) in org.apache.axis.client.Stub class you will find in your Service Locator class

* Client end timeouts should usually see the following exception  java.net.SocketTimeoutException: Read timed out … else it may be server side timeout

Advertisements