Hi,
I want to request data from a web service. I know that the web service needs around 2 minutes to process data from our database.
I followed the instructions on how to increase the Web service timeout (C#):
myAdaptor = (WebServiceAdapter2)thisXDocument.DataAdapters["GetRelation"];
myAdaptor.Timeout = 300;
myAdaptor.Query();
The first time the form goes through this code, I will still get the timeout error. The second time, the query will complete as expected.
Can someone give me a clue on what the problem could be ? I have posted this question in Microsoft public newsgroup, and as of now I have had no reply.
Thanks !