Are you using a proper transport factory, like XmlRpcSun15HttpTransportFactory?



On Fri, Feb 12, 2010 at 4:01 PM, Lars Schnoor <lars.schn...@ifad.dk> wrote:
> Hi
> I have seen that the XmlRpcClientConfigImpl has two methods to set timeout,
> there is setReplyTimeout(int pTimeout) and setConnectionTimeout(int
> pTimeout). Do these methods do anything? I have used these methods to set
> the two timeouts to 2 and 5 seconds respectively.
> I setup a client with these timeouts, print out a debug statement with
> timestamp and then I attempt to execute a XML-RPC method on my server which
> does not exist.
> The first thing in my catch block for the exception is a new debug statement
> that tells me that attempted XML-RPC failed after about 20 seconds.
> So, for me it looks like XML-RPC does not care about the timeouts I set, is
> this correct? Is there a way to set the timeouts and have XML-RPC attempt
> for the timeout period?
> I am using Windows XP.
> Thanks
>
> Lars
>



-- 
Germanys national anthem is the most boring in the world - how telling!

Reply via email to