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
-
- Outstanding Member
- Posts: 360
- Joined: Fri Sep 12, 2014 11:59 pm
SOAP API - getting started
[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
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
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?
"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?
-
- Elite member
- Posts: 1112
- Joined: Sat Sep 13, 2014 12:47 am
SOAP API - getting started
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.
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.
-
- Outstanding Member
- Posts: 360
- Joined: Fri Sep 12, 2014 11:59 pm
SOAP API - getting started
@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
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