I am trying to determine where a C# 2008 application that communicates with a web service is having a process problem. The C# 2008 app is communicating to the web service using a *.wsdl file by accessing a proxy. The problem is when the C# app has finished executing there are still processes that are active when looking at the task manager on the production server.
Thus the proxy still has a process executinng and/or the connection to the web service has some process that is not releasing some process.
Thus my questions are:
1. What do I look for in the connection to the web service that may not be releasing the appropriate resources? Can you tell me what I can do to try to resolve the problem?
2. If the proxy is not releasing some resource, can you tell me what to look for and let me know how to reolve the problem?
3. To at least try to solve the problem, would using the system.exit(1) at the end of the code at least resolve the problem? if system.exit(1) does not work, can you tell me what you suggest I do stop the unwanted process from executing in the code?