469,282 Members | 2,025 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Asynchronous web services VS 2005 v2.0

VMI
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS 2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.
May 5 '06 #1
3 1250
VMI,

You have to understand that web services in themselves are not
asynchronous. At their core level, they are atomic units of work that are
performed, or not performed.

Also, there is no callback mechanism for web services. If you want
something of that nature, then you have to implement it yourself.

In this scenario, you would have one web service which would take the
request for the operation. It would return a token and kick off the
processing.

You would then have another web request which would take the token and
then return the progress of the request. When the progress indicates that
the request is complete, you would have a third web request which would give
you the results (given the token).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VMI" <VM*@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS
2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update
the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #2
VMI
I've been trying to find information on how to do this. Do you suggest any
links that may help me? I've always wanted to learn about mutithreading but
sometimes it seems so complex.

Thanks.

"VMI" wrote:
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS 2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #3
Look at the examples in the Composite Application Block
[
http://www.gotdotnet.com/codegallery...a-f2eafbf2653c ]

and SC-BAT
[
http://www.gotdotnet.com/codegallery...4-c08595821170 ]
I'm not sure if it will do what you want, but I think it might give you some
ideas.
"VMI" <VM*@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
I've been trying to find information on how to do this. Do you suggest any
links that may help me? I've always wanted to learn about mutithreading
but
sometimes it seems so complex.

Thanks.

"VMI" wrote:
I posted this question several days ago, but I don't think I specified
what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS
2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update
the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Michael Lindsey | last post: by
8 posts views Thread by Trotsky | last post: by
1 post views Thread by Alexander Kaplunov | last post: by
2 posts views Thread by dba123 | last post: by
8 posts views Thread by Simon Gorski | last post: by
4 posts views Thread by Morgan Cheng | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.