[Mono-list] System.Web.Services.Protocols.WebClientProtocol.Timeout?

Gert Driesen gert.driesen at telenet.be
Tue Dec 4 14:32:58 EST 2007


Adam,

I was not able to reproduce the issue you mentioned without a proxy.

Can you check if you can reproduce it with and without a proxy?

Also, would it possible to try it with SVN head?

Gert

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Adam Tauno Williams
Sent: maandag 26 november 2007 19:46
To: Mono-list at lists.ximian.com
Subject: [Mono-list]
System.Web.Services.Protocols.WebClientProtocol.Timeout?

Is System.Web.Services.Protocols.WebClientProtocol.Timeout
implemented/effective?   I have...

service = new JobWebServiceProxyService(); proxy = new WebProxy("tyr:3128",
true); service.Proxy = proxy; service.Credentials = new
NetworkCredential(**********, ***********); service.Timeout = 99999;

... however ....

start  = new SvDate();
start.dateString = DateTime.Now.ToString("yyyy-MM-dd 00:00:00.000"); end =
new SvDate(); end.dateString = DateTime.Now.ToString("yyyy-MM-dd
23:59:59.999"); try {
  results = service.getUpdatedActions(start, ref end);
  ...
} catch (Exception ex)
  { message.Text = ex.Message; }

... always results in a "The request timed out" message after the same
amount of time, regardless of the value of service.Timeout.

JobWebServiceProxyService was generated using the wsdl tool.

mono-data-1.2.5.1-10.1
mono-data-sybase-1.2.5.1-10.1
monodoc-core-1.2.5-15
mono-data-sqlite-1.2.5.1-10.1
mono-devel-1.2.5.1-10.1
monodevelop-0.17-0.novell
mono-tools-1.2.4-46
mono-data-oracle-1.2.5.1-10.1
mono-nunit-1.2.5.1-10.1
mono-web-1.2.5.1-10.1
mono-extras-1.2.5.1-10.1
mono-basic-1.2.5-15
mono-core-1.2.5.1-10.1
mono-data-postgresql-1.2.5.1-10.1
mono-winforms-1.2.5.1-10.1




More information about the Mono-list mailing list