How do you modify the SOAP header for a .NET web service proxy generated by VS2008?
Is there a way to modify the header 开发者_JS百科(say to insert a security / authentication element) for Service References that are generated by Visual Studio 2008? How would you do it?
Paolo has posted an approach - Handling custom SOAP headers via WCF Behaviors which looks like it will do what you want
精彩评论