Re: Stubs Options Configuration

2009-04-23 Thread keith chapman
Thanks Dave for posting your findings. I'm sure our users would appreciate it. Thanks, Keith. On Thu, Apr 23, 2009 at 7:42 AM, David Rees dree...@gmail.com wrote: On Wed, Apr 22, 2009 at 6:30 PM, David Rees dree...@gmail.com wrote: OK, more reading and now I realize that keep-alive should be

Stubs Options Configuration

2009-04-22 Thread David Rees
Hi, I'm using Axis2 1.4.1 and WSDL2Java created stubs to access a web service. I'm trying to enable keep-alive and gzip encoding to reduce network latency and improve throughput, but am not having any luck. I would have expected to need to call

Re: Stubs Options Configuration

2009-04-22 Thread David Rees
On Wed, Apr 22, 2009 at 5:06 PM, David Rees dree...@gmail.com wrote: I would have expected to need to call Stub._getServiceClient().getOptions().setProperty(HTTPConstants.CHUNKED, Boolean.FALSE) to get keep alive working from the documentation, but then I realised that I'm not even seeing any

Re: Stubs Options Configuration

2009-04-22 Thread David Rees
On Wed, Apr 22, 2009 at 6:30 PM, David Rees dree...@gmail.com wrote: OK, more reading and now I realize that keep-alive should be on by default, but to get any performance benefit, I also need to REUSE_HTTP_CLIENT.  So I've done that and yes, performance has improved now, but I run into the