MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework
by Amit Kalani, Priti Kalani
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access