Hi,

I have a problems with accesssing zimbra using soap from java:
I have a following code:

String url = "http://webmail.etf.unsa.ba/service/soap";
HttpConnection hc = (HttpConnection)Connector.open(url);
String msg="<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\">"+
"<soap:Header>"+
"<context xmlns=\"urn:zimbra\">"+
"<nonotify/><noqualify/>"+
"</context>"+
"</soap:Header>"+
"<soap:Body>"+
"<AuthRequest xmlns=\"urn:zimbraAdmin\">"+
"<name>az15032@etf.unsa.ba</name>"+
"<password>mypass</password>"+
"</AuthRequest>"+
"</soap:Body>"+
"</soap:Envelope>";
hc.setRequestMethod(HttpConnection.POST);
//Content-Type: application/soap+xml; charset=utf-8
hc.setRequestProperty("Content-Type", "application/soap+xml");
OutputStream os=hc.openOutputStream();
os.write(msg.getBytes());
os.close();
//show http response

When I run code it shows me response:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"/></soap:Header><soap:Body><soap:Fault><soap:Code><soa p:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>unknown document: AuthRequest</soap:Text></soap:Reason><soapetail><Error xmlns="urn:zimbra"><Code>service.UNKNOWN_DOCUMENT</Code><Trace>btpool0-7987://webmail.etf.unsa.ba/service/soap:1296930874715:07d42a5f8e25cf53</Trace></Error></soapetail></soap:Fault>
</soap:Body>
</soap:Envelope>

What could be a problem here?

Any suggestions?