cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@verizon.net>
Subject Re: How to increase Service time-out
Date Wed, 23 Apr 2008 01:43:16 GMT
Another option is asynchronous client calls, first paragraph of here:
http://www.jroller.com/gmazza/date/20080308



2008-04-22 Arul Dhesiaseelan wrote:
> Christopher.Mathrusse@sybase.com wrote:
> > When debugging our services, sometimes the time spent debugging is greater 
> > that the time-out period for the client call. How can I increase the 
> > allowed time-out period?
> >
> > Thanks...
> >
> > Chris
> >
> > _________________________________________________
> > Scanned by MessageLabs for the Super Flux Friends
> > _________________________________________________
> >   
> Can you try adding this to your client?
> 
>     HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
>     httpClientPolicy.setConnectionTimeout(0);
>     httpClientPolicy.setAllowChunking(true);
>     ((HTTPConduit) 
> proxyFactory.getClientFactoryBean().getClient().getConduit()).setClient(httpClientPolicy);
> 
> Cheers,
> Arul
> 


Mime
View raw message