Here is what I want to achieve. In a IIS hosted WCF service I would like to be able to read the incoming message headers and based on a specific header value perform some custom actions. This header reading should take place before any web service method is executed. Can you please provide some guidance?
You didn't mention what you want to do with a message headers so perhaps it will not satisfy your needs but you can try using custom message inspector.