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 / June 2005

Tip: Looking for answers? Try searching our database.

Detecting if a webmethod response is returned?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Qpeg - 15 Jun 2005 15:16 GMT
Not a good description I know, but take the scenario where a client calls a
web method on my web service, and the client disapears (disconnects, is shut
down etc) before the method has time to get to the return-statement and
return an answer - does the webservice raise any exception or similair?

Using Enterprise Library I am looking for the best way (without re-inventing
the wheel) to write to my log that the client disapeared before my web metod
managed to complete.

If not on a pr. web method basis, is System.Web.HttpApplication (from which
my Global-class derives) able to detect any of this?

Note: I want to know if the method completed successfully from its point of
view - I know actually synchronizing if the client recieved the message has
its complications (the client would return a confirmation, but does the
client know if the server got the confirmation and so on till your hair turns
gray..).

Any pointers would be a great help!
Dilip Krishnan - 16 Jun 2005 15:56 GMT
WSE puts a log entry in the event log if the client/destination is
unreachable.

> Not a good description I know, but take the scenario where a client calls a
> web method on my web service, and the client disapears (disconnects, is shut
[quoted text clipped - 15 lines]
>
> Any pointers would be a great help!

Signature

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilip.krishnan AT apdiya DOT com

Qpeg - 17 Jun 2005 07:55 GMT
Cool, but I might need to take more programatic action when something like
this happens, so I need to be able to trigger an event somehow.

Might be on to something here tho
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conHandlingRaisingExceptionsInXMLWebServices.asp


> WSE puts a log entry in the event log if the client/destination is
> unreachable.
[quoted text clipped - 18 lines]
> >
> > Any pointers would be a great help!

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.