Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / January 2007

Tip: Looking for answers? Try searching our database.

Webservice connection is not properly closed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrea - 15 Jan 2007 22:04 GMT
From a C# application I'm calling a webservice asynchronously. I
noticed with TCPView that the connection is kept open even after
calling the endxxx method.
I also tried making the call synchronously with the same result.

How can I close the connection after the webservice call has been
completed?

Thanks.
Andrea
Mariano Omar Rodriguez - 16 Jan 2007 23:31 GMT
The thing is that IIS cache the connections.

> From a C# application I'm calling a webservice asynchronously. I
> noticed with TCPView that the connection is kept open even after
[quoted text clipped - 6 lines]
> Thanks.
> Andrea
Andrea - 17 Jan 2007 07:54 GMT
Thanks for your reply.
I'm doing the tests with my provider webserver.
I would like the connection to be closed after checking for updates.
My customers look with suspicion the presence of an open connection
for all the time my application is working.

How can I close it?
Thanks.

>The thing is that IIS cache the connections.
Mariano Omar Rodriguez - 17 Jan 2007 22:53 GMT
I suppose that you could send the HTTP header "Connection" with the value
"Close" to do this.

> Thanks for your reply.
> I'm doing the tests with my provider webserver.
[quoted text clipped - 6 lines]
>
>>The thing is that IIS cache the connections.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.