Re: Detecting if a webmethod response is returned?

Tech-Archive recommends: Fix windows errors by optimizing your registry



WSE puts a log entry in the event log if the client/destination is unreachable.

Qpeg wrote:
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!

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



Relevant Pages

  • Detecting if a webmethod response is returned?
    ... web method on my web service, and the client disapears (disconnects, is shut ... client know if the server got the confirmation and so on till your hair turns ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Accessing files & folders on client/other machine
    ... I am setting the credentials before calling the web method. ... The problem is that Web Service needs to accesss a file on client machine. ...
    (microsoft.public.dotnet.framework.webservices)
  • just an idea
    ... I am having one web method with is executing one stored procedure. ... So want i want is once client has invoke this method asynchronosuly, ... But my question is will be create any resource leaks or memory leaks if ... client has closed before web request completed. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Invoking long running web request asynchronously.
    ... I set oneway attribute in web method. ... What i want is once client called this web method this should start ... connection with web service. ... But in above case exception is also not raised. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: Versioning web services
    ... If I will be able to know on the server that a particular client is using ... My thoughts are to implement something like an interface, ... Define a SoapHeader in the web service that will store the version of your ... Apply the SoapHeader attribute to your web method. ...
    (microsoft.public.dotnet.framework.webservices)