CXF Version used is 2.3.0.

On Thu, Jun 16, 2011 at 6:40 PM, Malisetti, Ramanjaneyulu <
[email protected]> wrote:

> Hi,
>
>       I have web service client using CXF. My client use Dispatch
> mechanism to make Web Service calls. One of my service is taking long
> time to return, hence I would like to increase the default SO time and
> trying that in the following way. Seems, it is not working. Anything I
> am missing?
>
>
>
>            Client client =
> ((org.apache.cxf.jaxws.DispatchImpl)resourceDataSource).getClient();
>
>            HTTPConduit http = (HTTPConduit) client.getConduit();
>
>            HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
>
>            httpClientPolicy.setConnectionTimeout(36000);
>
>            httpClientPolicy.setReceiveTimeout(36000);
>
>            http.setClient(httpClientPolicy);
>
>
>
> Regards
>
> Raman
>
>

Reply via email to