How It All Works
How do all these pieces—UDDI, WSDL, and SOAP—actually work together to get the work of web services done? Take a look at Figure 10-6.

Figure 10-6. The web service lifecycle
The eight steps in the web service lifecycle are:
Somewhere in the world a client wants to use a web service, so it seeks out a directory service.
The client connects to the directory to discover a relevant service.
By asking the directory service about the services available, the client is able to determine the presence of a service that meets the client's criteria.
The directory contacts the service vendor to check on availability and validity.
The service vendor sends the client a WSDL document.
A proxy class is used to create a new instance of the web service.
SOAP messages originating from the client are sent over the network.
Return values are sent as a result of executing the SOAP message.
This isn't that bad, is it? What's more, Microsoft's WCF and Visual Studio tools make implementing a Service-Oriented Architecture very easy. Let's roll up our sleeves and see how WCF helps you get SOA implementations done fast.
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