I've made soap connection to a server and the server doesn't seem to be dropping that connection, in netstat the status of the connection is listed as CLOSE WAIT.
I'm told that the client that created the soap connection has to send a command to the server to close the connection. Can anyone tell me the correct way to do this in C#? Below is an example piece of code.
SOAPServer.Service Soap = new SOAPServer.Service(); // SOAPServer is a web reference
Soap.Timeout = 30000;
string[] SOAPReturnResult = Soap.DepotData(100, "Test");
Soap.Dispose();
Thanks