Events from a web service ?

N

Navin Mishra

How one could get events from .NET web service using .NET 1.1 or .NET 2.0 ?
Any inputs on strategies that could be used while WS eventing implementation
from MS is not available.
--------------------------------------------------------------------------------

Perhaps HTTP chunking to get events from web service to
clients ? Basically one HTTP request to GetEvent() and them basically an
infinite number of HTTP responses can be sent to the client application.

Or one could issue a GetEvent request to a web service in a separate thread,
block until response is received and then block again ? But wouldn't it
block the .NET web service method and potentially blocking all ASP.NET
thread pool threads for large number of clients ?

Thanks in advance and regards

Navin
 
J

John Saunders

Navin Mishra said:
How one could get events from .NET web service using .NET 1.1 or .NET 2.0
? Any inputs on strategies that could be used while WS eventing
implementation from MS is not available.
--------------------------------------------------------------------------------

Perhaps HTTP chunking to get events from web service to
clients ? Basically one HTTP request to GetEvent() and them basically an
infinite number of HTTP responses can be sent to the client application.

Or one could issue a GetEvent request to a web service in a separate
thread, block until response is received and then block again ? But
wouldn't it block the .NET web service method and potentially blocking all
ASP.NET thread pool threads for large number of clients ?

There's nothing like this in the basic web services standards. The closest
thing would be asynchronous requests. The client could make an asynchronous
request, and be notified when the server responds (or when the request times
out).

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top