In my application I have to connect to web service and get the results. Currently it's a public property as I have so many calls to service. I'm aborting and closing the service only when the service goes to faulted state. My application is hosted in IIS 7.5. When I deploy my appication to IIS it's working fine for some time. When the application is idle for some time(for eg., a day), the next day my application related to service call module is not working.
It works only when I recycle the application pool. What would be the issue here? What is the best way to connect to the webservice if there are so many calls to webservice? Do I need to create new client every time or is there any other way?
If you need any more clarifications, please let me know.