Hello!
I'm using Zimbra C# Client located at SourceForge.net Repository - [zimbra] Index of /trunk/ZimbraCSharpClient.

I've tried to login with administrator and didn't work. With a simple user didn't work too. The only response that i get is the HTML of the login page...
I searched internet and didn't found noting.

SOAP MESSAGE:
Code:
<soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope'>
<soap:Header>
<context xmlns='urn:zimbra'/>
</soap:Header>
<soap:Body>
<AuthRequest xmlns='urn:zimbraAdmin'>
<name>@USERNAME</name>
<password>@PASSWORD</password>
</AuthRequest>
</soap:Body>
</soap:Envelope>
TEST CODE:
Code:
string soapMessage = SoapMessageBuilder(message, param);
XmlDocument requestDoc = new XmlDocument();
requestDoc.LoadXml(soapMessage);
HttpWebRequest request = HttpWebRequestBuilder("http://@MYURL/");
Stream stm = request.GetRequestStream();
requestDoc.Save(stm);
stm.Close();
WebResponse resp = request.GetResponse();
stm = resp.GetResponseStream();
StreamReader r = new StreamReader(stm);
XmlDocument responseDoc = new XmlDocument();
responseDoc.LoadXml(r.ReadToEnd());
"r.ReadToEnd()" returns HTML login page.

Am i doing anything wrong?

Thanks in advanced!