[SoapRMI] timeouts not working?

Mark Swanson mark_at_ScheduleWorld.com
Fri, 31 Oct 2003 12:05:46 -0500


(I posted this as an unsubscribed person, so I subscribed and reposted...)

Hello,

I'm using 1.2.20_DEV9 and the socket timeouts appear to be hard-coded to zero.

HttpSocketSoapInvocationHandler.java: 
private int timeout = 0;

I'm setting the read timeout like this:
soaprmi.soaprpc.HttpSocketSoapInvoker.setDefaultTimeout(5000);

but the Invoker timeout isn't used with the InvocationHandler.

How should I use read timeouts with XSOAP?

Thanks.

-- 
Schedule your world with ScheduleWorld.com
http://www.ScheduleWorld.com/
Java Web start (JNLP):
http://www.ScheduleWorld.com/sw/ScheduleWorld.jnlp