8.7. Summary

In this chapter you were introduced to the concept of interface-based programming as it applies to .NET Web services. You learned how to develop Web services based on interfaces by separating the WSDL binding definition from the Web service implementation, then using wsdl.exe to generate Web service implementations from a WSDL document. You also learned how to implement multiple interfaces (bindings) using a single class and what the resulting WSDL looks like. Finally, you saw how clients can program against interfaces and how to dynamically read the Web service's URL from a configuration file rather than hard-coding it in the client.

Get Real World XML Web Services: For VB and VB .NET Developers 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.