For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > March 2005 > WebService TimeOut!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author WebService TimeOut!!
Vai2000

2005-03-31, 4:01 pm

Hi All, What's the difference between
Timeout on the Webservice proxy object and Timeout on the auto generated
Proxy

//
foo.aspx.cs
localhost.MyWebSvc svc=new localhost.MyWebSvc();
svc.Timeout=1000;

// auto generated proxy
// WebReferences/localhost/Reference.cs
this.Timeout=5000;


TIA


Naveen K Kohli

2005-03-31, 4:01 pm

There is no difference. the code in refernece.cs gets compiled into the
client application.

"Vai2000" <nospam@microsoft.com> wrote in message
news:%23EqDgNhNFHA.568@TK2MSFTNGP09.phx.gbl...
> Hi All, What's the difference between
> Timeout on the Webservice proxy object and Timeout on the auto generated
> Proxy
>
> //
> foo.aspx.cs
> localhost.MyWebSvc svc=new localhost.MyWebSvc();
> svc.Timeout=1000;
>
> // auto generated proxy
> // WebReferences/localhost/Reference.cs
> this.Timeout=5000;
>
>
> TIA
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com