Calling a webservice asynchronously

  • Thread starter Thread starter JTrigger
  • Start date Start date
J

JTrigger

I have a webservice that I want to call from a web app asynchronously, but
not wait around for a result. Basically I want to fire it off and then
forget about it. I have figured out the asynchronous call all right, but
when the client browser window is closed it sends an HTTP abort and kills
the webservice. How do I keep the client from killing the web service?
 
Sounds like you need another layer in there. Like the web service submits
something a Message Queue or perhaps a Windows Service?
 
Sounds like you have run into a 'state' problem in your web app.´
I assume you must be creating the reference to the web service in the
request, so the reference quite reasonably 'dies' when the client ends the
session.

What exactly are you trying to achieve here? If there's nobody around to
wait for the result, what's the purpose in the call being asynchronous?

Is it more of a message based paradigm - you send a message to get some work
done and don't care about the result (you just want it done reliably) ?

Your web service could be synchronous and simply stick the "message" in a
queue of some kind, to be processed by a "server".

If it needs to be a web service - maybe MSMQ or Queued Components in
Enterprise Service holds a better/combined solution?

(By the way - posted to too many newsgroups - please keep it to max. 3 or so
!!!)

Sorry to have answer you question with more questions, but hope it helps...

Richard.
 
Back
Top