Results 1 to 4 of 4

Thread: [SOLVED] Get Response in XML Format

  1. #1
    Join Date
    Jul 2007
    Posts
    4
    Rep Power
    0

    Default [SOLVED] Get Response in XML Format

    HI All,

    i am evaluating zimbra produt,what i am seeing that zimbra send response in JSON format when i am intercepting through firebug. can we get response in XML format if yes, then please let me know how we can achive this.

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Yes. By default, the Zimbra server responds using the same protocol the request is sent in. The Zimbra web client is overriding that by adding <format type="js"/> to the SOAP header; if you don't include this element, you'll get an XML SOAP response.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Jul 2007
    Posts
    4
    Rep Power
    0

    Default Get Response in xml format

    HI,

    can u please suggest me the exact step where i have to make changes,means in which file i have to make change so that i can see response in xml format.

    Thanks

  4. #4
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Well, I believe that the web client currently requires a JSON response from the server, so you're not going to be able to watch XML responses fly by in the debug window. But I believe that you can send commands from zmmailbox and turn on protocol-level dumping via the -d flag; these SOAP requests and responses are both XML.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Replies: 1
    Last Post: 08-11-2006, 07:53 AM
  2. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM
  3. Whitespaces in SOAP response
    By smies in forum Developers
    Replies: 2
    Last Post: 11-05-2005, 02:33 PM
  4. Xml support in AjaxTK
    By sixstone in forum Developers
    Replies: 0
    Last Post: 10-21-2005, 02:51 AM

Posting Permissions

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