O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.4. Mystery Headers

So far you've seen how a service can declare the headers it expects and how a client can send it those headers. It's possible for a client to send headers to the service that the service didn't know about at design time. If this happens, the service will most likely not care about those headers since it doesn't know what to do with them to begin with. However, you might have a scenario where you want to retrieve those headers and log or process them. You need a catch-all member variable that can be used to access all unknown headers. This member variable must be either a single instance or an array of SoapUnknownHeader. A single instance will capture the first unknown header while an array will capture all unknown headers. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required