Groups | Blog | Home
all groups > dotnet web services > march 2008 >

dotnet web services : Webservice callback


Chuck Vance
3/23/2008 12:00:00 AM
Hi NG,
I want to use a Webservice to pass data from a client to the WebServer. The
client then immediately gets the response "Data send - wait for the result".
After a while (after the data has been processed) the Webserver has to pass
the calculated data to client.

One way could be to let the client request "Data Ready?" every x
milliseconds.
Another way could be to call the WebService asynchronously (or by with a
callback-delegate) - if this can be done.
Or maybe ther is a better way to do it?!

Thanx in advance
Chuck

Spam Catcher
3/23/2008 12:00:00 AM
"Chuck Vance" <nomail@invalid> wrote in news:fs6c9d$79k$03$1@news.t-
online.com:

[quoted text, click to view]

WCF supports web service callbacks.

--
Alex Meleta
3/24/2008 12:05:57 PM
Hi Chuck,

What is the reason to use first way (no async call)? You mentioned the service
has to send(!) the data to client? Are there issues on the client side to
not accept async requests?

Regards,
Alex Meleta
[Tech Blog: http://devkids.blogspot.com]

CV> Hi NG,
CV> I want to use a Webservice to pass data from a client to the
CV> WebServer. The
CV> client then immediately gets the response "Data send - wait for the
CV> result".
CV> After a while (after the data has been processed) the Webserver has
CV> to pass
CV> the calculated data to client.
CV> One way could be to let the client request "Data Ready?" every x
CV> milliseconds.
CV> Another way could be to call the WebService asynchronously (or by
CV> with a
CV> callback-delegate) - if this can be done.
CV> Or maybe ther is a better way to do it?!
CV> Thanx in advance
CV> Chuck

AddThis Social Bookmark Button