Returning from a web method

A

abubakarm

Hi,
Is it possible to return from a web method again n again which is
called asynchronously just once? For example, lets say I have a web
method by the name GetNumber which returns an integer. I call this
method GetNumber just once asynchronously but it should keep on
returning results to the GetNumberCompleted method, like 1, than 2,
then 3, then 4 and so on? See I dont want to call it again n again, but
I do want to return from it again n again. I hope the question is
clear.

I'm doing all this in visual studio 2005 and the client app is a C#
desktop app.

Regards,

Ab.
 
J

Josh Twist

Certainly not using an asmx web service. Web services sit right on top
of HTTP which is stateless and works in a challenge-response way (not
challenge, response, response, response etc).
 

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

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top