ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zohar" <david_fi...@hotmail.com>
Subject Re: XmlRpcClient timeout question
Date Thu, 02 Sep 2004 05:28:01 GMT
To set a timeout you can (and probably should) use the Socket's
setSoTimeout() method.

----- Original Message ----- 
From: "Martin Burlinski" <mburlinski@tucows.com>
To: "Venkk Suryanarayanan" <venkk@sepaton.com>
Cc: <xmlrpc-user@ws.apache.org>
Sent: Wednesday, September 01, 2004 6:31 PM
Subject: RE: XmlRpcClient timeout question


> I don't have any control over server-side code.
>
> On Wed, 1 Sep 2004, Venkk Suryanarayanan wrote:
>
> > Look to see whether the server-side code has any part of code that goes
> > to indefinite loop are something...
> >
> > -----Original Message-----
> > From: Martin Burlinski [mailto:mburlinski@tucows.com]
> > Sent: Wednesday, September 01, 2004 11:21 AM
> > To: xmlrpc-user@ws.apache.org
> > Subject: XmlRpcClient timeout question
> >
> > Hi,
> >
> > I am using the org.apache.xmlrpc.XmlRpcClient. The server I connect to
> > hangs
> > from time to time to time. It accepts the connections but does not
> > replay.
> > I would like to wait for a given time and then throw an exception.
> > How can I set a timeout for this ?
> >
> > Thanks
> >
> > Martin
> >
> >
> >
> >
>
>

Mime
View raw message