In the axis wiki page http://wiki.apache.org/ws/FrontPage/Axis/JavaTimeout,
this describes how to set a timeout.



FooServiceLocator loc = new FooServiceLocator();

 FooService binding = loc.getFooService();


 org.apache.axis.client.Stub s = (Stub) binding;

 s.setTimeout(10000);  // 10 seconds, in miliseconds



Is there a way I can actually test a slow connection to verify this bit of
functionality is working?
If I put in a bad url, it will immediately return me, "connection refused"
which doesn't help.



Thanks,

-dan

Reply via email to