In c# 4.0, I have a web service called ManufacturerContactDetails. I am calling that web service from a windows app using the following:
var ws = new Manufacture
If this is a WCF client there is no Proxy property. You could try this instead:
var proxy = new WebProxy("proxy.foo.com", true);
proxy.Credentials = new NetworkCredential("user", "pass");
WebRequest.DefaultWebProxy = proxy;
and then do the call:
using (var ws = new ManufacturerContactDetailsWebServiceSoapClient())
{
var cd = ws.GetContactDetails("Google");
}