Hi!
I had the same error and solved it in the method "CreateWebRequest", it happens that you have to add other property the "webRequest.Headers["Authorization"]"
public static HttpWebRequest CreateWebRequest(string url)
{
authInfo =
"Basic " + Convert.ToBase64String(Encoding.Default.GetBytes("username:password"));
<------
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
webRequest.Headers.Add("SOAPAction",
serviceUrl + @"/" + method
);
webRequest.Headers["Authorization"] = authInfo ;
<--------
webRequest.ContentType = "text/xml;charset="UTF-8"";
webRequest.Accept = "text/xml";
webRequest.Method = "POST";
return webRequest;
}