Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2006, 04:05 AM
Junior Member
 
Posts: 8
Default Syntax in soap.txt

I'm trying to write a (partial) WSDL for the Zimbra SOAP interface (for use with Python/ZSI). In the SOAP documentation (soap.txt) I see some SOAP messages are placed between square brackets ([ ]).. does this mean they are like arrays, so I should use SOAP sequences?
Reply With Quote
  #2 (permalink)  
Old 05-01-2006, 09:05 AM
Zimbra Employee
 
Posts: 4,792
Default

[] means optional
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 05-01-2006, 11:19 PM
Zimbra Employee
 
Posts: 228
Default

Our SOAP is document-style SOAP (what-you-see-is-what-you-get), so none of the rpc-ish stuff applies. As Kevin said, [] means optional. On elements +/* mean the same thing as regexes (one or more, zero or more), though sometimes we might use + where we mean *.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 05-02-2006, 01:25 AM
Junior Member
 
Posts: 8
Default

Thanx for the information, that makes life a whole lot easier..!

Can I still write my SOAP calls in RPC style or should I use document style?

Last edited by Robin Diederen; 05-02-2006 at 01:41 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.