.NET Overview

Building a .NET Web Service

  1. Write a class with attributes (comments) that identify it as a web service with exposed methods.
  2. .NET uses these to create WSDL document.
  3. Client adds service as web reference in Visual Studio .NET, or runs WSDL.exe to create stubs.
  4. .NET uses WSDL file to generate proxy (stub) classes.
  5. Client instantiates proxy class and calls methods on it.
  6. Proxy class converts it to a SOAP message and sents it.
  7. Proxy class receives SOAP reply, parses it, and returns value to client.

José M. Vidal .

6 of 11