|
-
Sep 12th, 2007, 08:12 PM
#1
Thread Starter
Fanatic Member
[2005] Asynchronous Web Services
After looking on the web at several examples I have officially gotten myself confused about writing an Asynchronous Web Service, so I'm hoping someone can set me straight.
This is how I have interpreted most examples on the web.
- I have to create a standard synchronous web services with my Web Methods.
- I now create an additional web service that references the synchronous web service and wrap those web methods into the Begin/End style.
Can anyone that has written an Asynchronous Web Service confirm or clarify how it's done properly? Any examples would be greatly appreciated.
I'm pulling my information from the msdn website : http://msdn2.microsoft.com/en-us/library/98t3s469.aspx
-
Sep 13th, 2007, 01:38 PM
#2
Re: [2005] Asynchronous Web Services
Err, no - when you add a web reference, the proxy that's generated will provide both sync & async methods (the Begin/End methods). You shouldn't have to do anything more to get async calls going
-
Sep 15th, 2007, 04:44 PM
#3
Re: [2005] Asynchronous Web Services
The proxy class generated by your web reference should allow you to call BeginMethodName(), to which you supply the delegate to be invoked once processing is complete.
-
Sep 15th, 2007, 04:45 PM
#4
Re: [2005] Asynchronous Web Services
Do a search on 'consuming asynchronous web services' (with asp.net)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|