Creating Asynchronous Web Methods
Create and Consume an XML Web service: Create asynchronous Web methods.
If you simply call a Web service method from a client program (via a Web service proxy), the call is synchronous. That is, your client application will not process any other commands until the SOAP response comes back from the server. For example, if you click the Get Bug button in Step-by-Step 5.2 and then try to move the form, you'll discover that the form is unresponsive until the response from the server has been processed and displayed.
The proxy classes generated by Visual Studio .NET (or by wsdl.exe) also enable you to make asynchronous calls to a Web service. When you make an asynchronous call, the client sends the SOAP request, but ...
Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.