Results 1 to 3 of 3

Thread: Changes to SOAP in 4.5?

  1. #1
    Join Date
    Nov 2006
    Rep Power

    Default Changes to SOAP in 4.5?

    The following SOAP request works in 4.0:

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="urn:zimbraAdmin" xmlns:ns2="urn:zimbra" xmlns:xsd="" xmlns:SOAP-ENC="" SOAP-ENV:encodingStyle="">
    <authToken>(valid token)</authToken>
    <account by="name"></account>
    In 4.5 it returns:

    "permission denied: need admin token"

    Has something significant changed in the SOAP interface in 4.5 that is causing this?

  2. #2
    Join Date
    Aug 2005
    Rep Power

    Default admin:AuthRequest

    I believe that some of the permissions issues were tightened up. In this case, you must do an <admin:AuthRequest> to get a valid admin auth token to execute the <GetAccountInfo> command. A regular <acct:AuthRequest> gives you a non-admin token for the authenticated account, and that non-admin token does not carry with it any rights beyond access to the auth'ed account's mailbox.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Nov 2006
    Rep Power


    Thats got it, thanks.

Similar Threads

  1. XSD/WSDL Files for the SOAP Server?
    By photoadrian in forum Developers
    Replies: 5
    Last Post: 12-23-2012, 02:32 AM
  2. Jar For Soap Client
    By wcameron in forum Developers
    Replies: 19
    Last Post: 06-03-2009, 03:04 PM
  3. Replies: 2
    Last Post: 02-26-2007, 11:37 AM
  4. ZCS 4.5 eval ?? + 64/32 ?
    By dlochart in forum Installation
    Replies: 7
    Last Post: 02-06-2007, 09:08 AM
  5. Replies: 1
    Last Post: 12-19-2006, 02:58 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