I'm calling a web service from a console app - all in C# on .NET.
I want to add an HTTP header (not a SOAP header) to the web service call. How do I do this?
This is what my code looks like so far:
EatService es = new EatService(); // web service added in Web References
// Add HTTP header X-Info = "extra info" here
string info = es.GetMoreInfo(); // ws call