sorry, if you meant it was still timing out, then may be you also need to set a connection timeout, if you are posting a large attachment, etc
cheers, SErgey On Mon, Jan 31, 2011 at 4:46 PM, Sergey Beryozkin <[email protected]>wrote: > Try '*∞*' :-) > > > On Mon, Jan 31, 2011 at 4:19 PM, Benson Margulies > <[email protected]>wrote: > >> 0 doesn't seem to mean infinity. >> >> On Mon, Jan 31, 2011 at 11:05 AM, Sergey Beryozkin <[email protected]> >> wrote: >> > See >> > >> > >> http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ConfiguringClientsatRuntime >> > >> > example, >> > >> > HTTPConduit conduit = WebClient.getConfig(client).getHttpConduit(); >> > conduit.getClient().setReceiveTimeout(0); >> > >> > cheers, Sergey >> > >> > On Mon, Jan 31, 2011 at 4:00 PM, Benson Margulies < >> [email protected]>wrote: >> > >> >> How can I use the WebClient API and crank the timeout to infinity? >> >> >> > >> > >
