Chapter 30. Investigating Web Service Consumers

OBJECTIVES

  • Compare synchronous and asynchronous calls to Web Service methods

  • Learn to create the required procedure for callbacks in order to call a Web Service asynchronously

When you create a client application that consumes a method from a Web Service, most likely your application simply calls a method in the object provided by the Web Service—or so it would seem. Your code doesn't actually call a method in some remote object—that wouldn't make any sense. Under the covers, your code is calling a method in a local object that knows how to contact the remote Web Service and execute the method using SOAP. This local object then retrieves a return value from the remote Web Service method and returns ...

Get ASP.NET Developer's JumpStart 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.