Windows Application close connection with webservice

E

enginhorzum

Hi all
i wrote a windows app with c# which consumes a web-service also
written in c#. i wrote a method in web-service like this.
public function Test()
{
System.Threading.Thread.Sleep(10*60*100);
return true;
}
When i call this method from windows application, it time-outs after
appx. 2 minutes, win. app. doesn't wait for the response and ends the
connection.
What is the cause of this problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top