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 06-27-2007, 11:27 AM
Starter Member
 
Posts: 2
Default SOAP API / errors more specific than 500?

We're working on integrating provisioning and account management with the zimbra SOAP API. We have all of the basics working.

It seems that whenever Zimbra doesn't like a request, it is always returning a generic 500 HTTP error. For example, when creating an account where the address already exists. Or when setting a password that doesn't meet the minimum requirements, etc...

In looking at the HTTP response that is returned, it doesn't *seem* that the detailed reason for the error is included. The Zmprov command however, does return the specific error.

Someone please tell me that I'm wrong, that the error message is available via SOAP and I'm just being stupid here. (Any pointers as to where I should look would be appreciated.)
Reply With Quote
  #2 (permalink)  
Old 06-27-2007, 11:58 AM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

Zimbra will return an HTTP 500 and the body of the response will contain a soap fault with detailed information on why the request failed.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #3 (permalink)  
Old 06-27-2007, 05:03 PM
Starter Member
 
Posts: 2
Default

Yep, I was being stupid. It's all there.


Thank you.
Reply With Quote
  #4 (permalink)  
Old 06-29-2007, 03:53 PM
Member
 
Posts: 13
Default

I had a similar problem once but in my case I was sending a simple ajax request not soap and the response returned 500 if database connection pool was broken.

Last edited by sondor; 06-29-2007 at 03:56 PM..
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.