chaostheory
chaostheory

Reputation: 1653

How do you modify the SOAP header for a .NET web service proxy generated by VS2008?

Is there a way to modify the header (say to insert a security / authentication element) for Service References that are generated by Visual Studio 2008? How would you do it?

Upvotes: 1

Views: 1908

Answers (1)

David Gardiner
David Gardiner

Reputation: 17186

Paolo has posted an approach - Handling custom SOAP headers via WCF Behaviors which looks like it will do what you want

Upvotes: 1

Related Questions