Web service simplified Application Code Application Client Web service Platform and language specific communication Platform and language agnostic communication abstraction layer
The Web Service architecture Service Registry Service Provider Service Consumer Publish Find Bind
Underlying Technology Web Service Stack Ubiquitous Communications: Internet Universal Data Format: XML Wire Format: Service Interactions: SOAP Description: Formal Service Descriptions: WSDL Simple, Open, Broad Industry Support Directory: Publish & Find Services: UDDI Inspection: Find Services on server: DISCO
Underlying Technology Web Service Stack Directory http://www.uddi.org UDDI DISCO WSDL SOAP Inspection http://www.ibuyspy.com/ibuyspy.disco Description http://www.ibuyspy.com/ibuyspycs/InstantOrder.asmx?wsdl Wire Format Locate a Service Link to Discovery Document (XML) Request Discovery Document Return Discovery Document (XML) Return Service Description (XML) Return Service Response (XML) Request Service Request Service Description Web Service Client UDDI or other directory service Web Service
The SOAP message structure SOAP Envelope SOAP Header Header Block Message Body SOAP Body Fault Handlers
.NET Framework Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common Language Specification VB C++ C# JScript J# Visual Studio.NET
Hello World using System; class Hello { public static void Main() { Console.WriteLine("Hello, World!"); } }
The Common Language Runtime Compilation and Execution Compilation Before installation or the first time each method is called Execution JIT Compiler Native Code MSIL Code Metadata Source Code Language Compiler