[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
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
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.
Re: [2005] Asynchronous Web Services
Do a search on 'consuming asynchronous web services' (with asp.net)