Hello,

options.setTimeOutInMilliSeconds() works for me.

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External  +44 (0) 1962 816319         Internal 246319

If you can't find the time to do it right the first time, where will you find the time to do it again?


Andrew B <[EMAIL PROTECTED]> wrote on 29/06/2006 23:18:38:

> Hi,
>
> I have an Axis2 client, calling an Axis2 service. The call times out
> after maybe 10 seconds, when the service typically needs at least a
> minute to complete its processing. I have tried setting both the
> connection and socket timeouts to half an hour:
>
>             options.setProperty(HTTPConstants.SO_TIMEOUT,  new
> Integer(1800000));
>             options.setProperty(HTTPConstants.CONNECTION_TIMEOUT,  
> new Integer(1800000));
>
> but this has had no effect at all. Any ideas, anyone?
>
> Thanks,
>
> Andrew

>  __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

Reply via email to