Results 1 to 4 of 4

Thread: SOAP API / errors more specific than 500?

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Rep Power
    8

    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.)

  2. #2
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    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 ] :: :: [ . ] ::

  3. #3
    Join Date
    Jun 2007
    Posts
    2
    Rep Power
    8

    Default

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


    Thank you.

  4. #4
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    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 02:56 PM.

Similar Threads

  1. SOAP API docs
    By olliemaitland in forum Migration
    Replies: 2
    Last Post: 05-18-2010, 05:02 PM
  2. Replies: 3
    Last Post: 04-28-2010, 09:46 AM
  3. How to consume zimbra SOAP API in my java application
    By Hemant Shrivastava in forum Developers
    Replies: 34
    Last Post: 12-24-2006, 12:24 AM
  4. Replies: 0
    Last Post: 12-04-2006, 08:48 PM
  5. Replies: 13
    Last Post: 10-31-2005, 03:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •