I have inherited some code and I'm not very familiar in dealing with web services. Here is how the project is set up:
Under "Web References" there is a reference to the web service we are using. In that service's Reference.cs file there is class that inherits from SoapHttpClientProtocol, this class has a function called CandidateAdd() which calls this.Invoke (I'm thinking this makes the actual web method call)
Two classes then derive from the one in the Reference.cs file (one for the production environment and one for dev) and they only contain an override of GetWebRequest(Uri), here it sets
webRequest.KeepAlive = false;
webRequest.MaximumAutomaticRedirections = 30;
System.Net.ServicePointManager.MaxServicePointIdleTime = 18000;
webRequest.AllowAutoRedirect = true;
//webRequest.Timeout = 18000;
and returns the web request object.
The nature of the application is such that this web method will probably only be called 50 or so times a day, so it isn't like the server is getting very bogged down or anything, it seems more like something is setup incorrectly.
Thanks in advance for any help!