axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Socket Timeouts for Axis Clients
Date Mon, 24 Mar 2003 17:51:39 GMT
Jens Schumann wrote:
> As a follow up to the "HTTP Connection Hang" discussion and my "SOTimeout"
> post on axis-user here a few thoughts:

> I am somewhat short on time and thus being said I hope someone else might be
> able to implement the following changes ;(.

It doesnt usually work that way, does it. but file a report.

> 1. Set default socket timeout for Axis Clients to 30 or 60 seconds.

easy, though not to set the connect timeout as that is 1.4 only

> 2. Generate code which allows to set the socket timeout for the axis client
> easily.

moderately easy; we want to this cleanly. Perhaps a property or something

> 3. Add a local exception (IOException?) to the exposed web service
> operations to allow better handling of local (socket) exceptions.
> I think 1 & 2 should be easy to fix, but 3 will break backwards
> compatibility.

Then it isnt possible. Instead you'll need to turn an IOE into an 
RmiException, somehow.

View raw message