How to add custom Http Header for C# Web Service Client consuming Axis 1.4 Web service
问题 I'm trying to write a web service client in c# which the webservice is Java Axis 1.4. Axis service requires the Authorization: Basic Base64EncodedToken header value in the HTTP Headers. I can't find a way to set this header in standart ways of consuming web services in visual studio.net, like normal WSDL generated refernce nor with WSE3.0 I can't use WCF as the project is developed using .net 2.0. Is there any way to do this ? 回答1: It seems the original author has found their solution, but