Hi,

I am getting problem while trying to consume zimbra web service. The web services which I had consumed earlier, those were RPC style based soap oriented web services and for which I had been given a WSDL document reference URL, describing that web service. So I was able to generate the proxy stubs and classes in my programming framework, and therefore didn't have any problem.

Now since Zimbra web service is a document style web service (not RPC based), so it does not provide me a WSDL document reference URL, so I cannot generate stubs to simply use them. Now what I understand is that it should be a simple XML/SOAP document exchange based mechanism to send the request and get the response, while communicating to the document style based Zimbra web service.

I have been given the attached soap API documentation, which only tells me the request / response headers in XML format, but when I am the sending appropriate XML NODE to the given URL (mentioned below), I am getting an exception

"Server returned HTTP response code: 500 for URL: https://zimbra.vsnl.in:7071/service/admin/soap/"

URL: https://zimbra.vsnl.in:7071/service/admin/soap/

XML NODE:

<AuthRequest xmlns="urn:zimbraAdmin">

<name>admin@zimbra.vsnl.in</name>

<password>DummyPwd</password>

</AuthRequest>

I have tried with the following SOAP header as well, but still get the same error message

<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>admin@zimbra.vsnl.com</name>

<password>DummyPwd</password>

</AuthRequest>

</soap:Body>

</soap:Envelope>


The server is properly configured and admin control panel is accessible on browser on port 7071.

Can you help me understand, if there is some other way I need to pass the params to the given URL? If not then what would be the alternative solution. I tried to dig out in the source code also and it shows that the appropriate servlet "SoapServlet", listning on port 7071 takes the request as query string params only. Please help!!!!!

Regards,
Hemant Shrivastava