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

Adam Tauno Williams adam at morrison-ind.com
Mon Nov 26 13:46:07 EST 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20071126/1e4600d5/attachment.bin 


More information about the Mono-list mailing list