Hi All,

It seems that timeout is not working on Axis client. I have generated stubs
using WSDL2Java tool. Then set the Timeout on org.apache.axis.client.Stub as
following .

MyServiceLocator locator = new MyServiceLocator(); 
org.apache.axis.client.Stub stub = (Stub) locator.getMyService(); 
stub.setTimeout(5000); // 5 sec.

but My client just hangs for around 4 Minute and then get time out with
java.net.NoRouteToHostException: connect: Connection timed out exception.

Please help me out with this problem.

Thanks,
Shailesh.


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Reply via email to