SOAP API - getting started

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
jmckay123
Posts: 7
Joined: Sat Sep 13, 2014 3:57 am

SOAP API - getting started

Post 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.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

SOAP API - getting started

Post 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
jmckay123
Posts: 7
Joined: Sat Sep 13, 2014 3:57 am

SOAP API - getting started

Post 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?
liverpoolfcfan
Elite member
Elite member
Posts: 1096
Joined: Sat Sep 13, 2014 12:47 am

SOAP API - getting started

Post 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.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

SOAP API - getting started

Post 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
Post Reply