How to get events from a web service ?

N

Navin Mishra

Hi,

Is there a way to get events from a web service in platform independent
way ? Could a long standing HTTP GET request be submitted from a client and
server respond to that request when an event comes ? Or perhaps HTTP
chunking could be used ?

Thanks in advance and regards

Navin
 
J

John Saunders

Navin Mishra said:
Hi,

Is there a way to get events from a web service in platform independent
way ? Could a long standing HTTP GET request be submitted from a client
and
server respond to that request when an event comes ? Or perhaps HTTP
chunking could be used ?

WCF supports callback contracts. I suppose they could be used for something
like this. I suggest you consider the cost, though. You'll be turning
clients into servers.
 
N

Navin Mishra

Thanks. Is there any other way like long standing HTTP GET request or HTTP
chunking so that a client on any platform could get events ?

Thanks again and regards

Navin
 
D

Donn Felker

You could look at using a product like NServiceBus that allows for
pub/sub (but then again I'm not sure if you own both ends of the wire in
this case). Worth taking a look at though.
 

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

Staff online

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top