Web serivce time out errors in delphi
Posted
by JD
on Stack Overflow
See other posts from Stack Overflow
or by JD
Published on 2010-05-24T15:52:54Z
Indexed on
2010/05/25
1:21 UTC
Read the original article
Hit count: 533
Hi,
I have a client application that makes SOAP requests. I have set the timeout to 20 minutes. However, sometimes I see the timeout error occurring after 10 seconds. I have the following in code:
RIO.HTTPWebNode.ReceiveTimeout := 1200000
Do I need to set the ConnectTimeout
and SendTimeOut
? Currently they are set to the default values of 0. What difference would setting these make?
I am using Delphi 2007.
Looking further at the error message I see I get "The operation timed out....". So should I be setting my ReceiveTimeOut
to zero since I really do not want any timeout at all?
© Stack Overflow or respective owner