Hi All,I have the below piece of code which I was trying,Basically, am just
trying to hold the current thread for about 100 secs (cos in real time, my
query will take nearly a minute to execute and return the value). So just to
replicate this, when i tried the above, WS is throwing exception saying
'could not send message' and "Read Timed out".I even tried setting the
request and connection timeout variables as below in my CLient, But
no luck, it throeing the error message in a few seconds and if i remove the
Sleep stuff, it works fine.. Please advice!
trying to hold the current thread for about 100 secs (cos in real time, my
query will take nearly a minute to execute and return the value). So just to
replicate this, when i tried the above, WS is throwing exception saying
'could not send message' and "Read Timed out".I even tried setting the
request and connection timeout variables as below in my CLient, But
no luck, it throeing the error message in a few seconds and if i remove the
Sleep stuff, it works fine.. Please advice!