WCF sending data through SoapHeader

Mar 18, 2013 at 8:39 AM
HI,

I need to pass usercredentials throgh soap header in my service. I tried Message contracts but it has limitaions as my web method requires multiple parameters and a return type which is not a message contract.

Which is better in WCF in this scenario? Can i use WCFExtras, will this support older versions as my client applications are typical asmx/java/javascripts etc.?

Or should i go for creating a message inspector (IDispatchMessageInspector, IClientMessageInspector.). Will this support older versions?

Thank for your earlier reply