Results 1 to 2 of 2

Thread: BatchRequest, Firefox 3, and xmlns=""

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Rep Power

    Default BatchRequest, Firefox 3, and xmlns=""

    It appears as though Firefox 3 adds blank xmlns attributes to SOAP requests called from zimlets. It also appears that when using BatchRequest, the child requests have their xmlns overwritten to null.

    In this forum thread:

    mmorse mentions that the zimlets provided by Zimbra have been fixed to define the xmlns via the constructor instead of using setAttribute() later.

    I read the source of AjxSoapDoc.js to try and use the set() function to define the xmlns straight away but, I am missing something and can't get it to work.

    Would someone from Zimbra be so kind to share your solution to the BatchRequest issue or an example of using set() with the xmlns parameter?


    Quinn Madson, Web Developer
    University Information Technology Services
    University of Wisconsin-Milwaukee

  2. #2
    Join Date
    Sep 2005
    Rep Power


    In contactcleaner zimlet, the following lines
    var contactActionReq = soapDoc.set("ContactActionRequest");
    contactActionReq.setAttribute("xmlns", "urn:zimbraMail");

    were replaced to:
    var contactActionReq = soapDoc.set("ContactActionRequest", null, null, "urn:zimbraMail");
    Last edited by rrao; 08-19-2008 at 03:24 PM.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Posting Permissions

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