Chapter 7. SOAP Header and Fault

There are two ways to write error-free programs. Only the third one works.

—Anonymous

In Chapter 3, you learned how SOAP headers can be used to extend SOAP by including information in the SOAP message outside of the message payload. Applications of SOAP headers include custom session keys (when your application is managing its own sessions), security keys, and digital signatures. .NET makes it easy to send and receive SOAP headers by providing a framework of objects that you use to define your headers and to specify which Web methods will use them. In this chapter, you will learn how to implement SOAP headers with .NET to send additional information between client and service. You'll also learn to communicate ...

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.