Page 1 of 1

SOAP API - getting started

Posted: Thu Aug 14, 2014 5:37 pm
by jmckay123
Is there any documentation that would help me get started using the SOAP API? I will not be using a library such

as PHP, etc, just making direct http posts from a C program using libcurl. I have done this before with Exchange Web Services, but with Zimbra I'm not sure how to get started - what URL do I post to? What is the Authorization token and how do I get one? Specific examples of how a POST should be formatted would be very helpful.

SOAP API - getting started

Posted: Mon Aug 18, 2014 10:30 am
by 13546dalmate
[quote user="jmckay123"]Is there any documentation that would help me get started using the SOAP API? I will not be using a library such

as PHP, etc, just making direct http posts from a C program using libcurl. I have done this before with Exchange Web Services, but with Zimbra I'm not sure how to get started - what URL do I post to? What is the Authorization token and how do I get one? Specific examples of how a POST should be formatted would be very helpful.[/QUOTE]
Link for all user's services: https://domain.com/service/soap

Link for all Admin's services: https://domain.com:7071/service/soap

To get Authorization token you must call AuthRequest service

SOAP API - getting started

Posted: Mon Aug 18, 2014 10:52 am
by jmckay123
Neither of those links work.
"Must call AuthRequest service". See, this is why I posted my original question - I have no idea what you mean by that. Where is the documentation for AuthRequest?

SOAP API - getting started

Posted: Tue Aug 19, 2014 8:50 am
by liverpoolfcfan
A little further down the forum is a thread asking the same question about where to start with the documentation.

I">http://www.zimbra.com/forums/developers ... post335352
I know you said you will not be using PHP but if you can read PHP code you can find pointers in the code for the Z-push Zimbra Backend - it uses curl to send SOAP requests to the server. Z-Push Zimbra Backend / Code / [r224] /zimbra-backend/branches/z-push-2
Search for AuthRequest to see how the request is formatted, then search for "function SoapRequest" to see how the requests are sent to the server.

SOAP API - getting started

Posted: Thu Aug 21, 2014 11:15 pm
by 13546dalmate
@jmckay123:

These links are my example, not real link :)

You can see more document about zimbra's soap in here:

https://code.google.com/p/zimbra-soap-j ... e=soap.txt