consuming webserver timeout issue

G

Grant Merwitz

Hi

I am running a rather large method through a webservice.
Now, i keep getting a timeout.

I've found an article which seems to be the solution, but cannot for the
life of me figure out how to use it.
I am told to use the following code to set the timeout property of the
proxy:

webserver.Service1 ws = new webserver.Service1();
ws.Timeout = System.Threading.Timeout.Infinite;

But i cannot find these settings at all.
there is no class called webserver, and my consumed webservice does not have
a Service1 class or a Timeout property.

Where can i find these settings:

KB Article: http://support.microsoft.com/?kbid=819692#appliesto

TIA
 
G

Grant Merwitz

I found it.

it was:

[Name of Web Service].[Name of Class].TimeOut

stupid article, they could explain that!

they could at least go

webservicename.service1

Anyways, fixed my problem right up
 

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

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top