SOAP API - getting started

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

SOAP API - getting started

Postby jmckay123 » Thu Aug 14, 2014 5:37 pm

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

Postby 13546dalmate » Mon Aug 18, 2014 10:30 am

[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

Postby jmckay123 » Mon Aug 18, 2014 10:52 am

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
Outstanding Member
Outstanding Member
Posts: 920
Joined: Sat Sep 13, 2014 12:47 am

SOAP API - getting started

Postby liverpoolfcfan » Tue Aug 19, 2014 8:50 am

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/73703-zimbra-api-locations.html#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

Postby 13546dalmate » Thu Aug 21, 2014 11:15 pm

@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-java-api/downloads/detail?name=soap.txt

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests