Results 1 to 2 of 2

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

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Rep Power
    7

    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:
    http://www.zimbra.com/forums/zimlets...-contacts.html

    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?

    Thanks,

    Quinn Madson, Web Developer
    University Information Technology Services
    University of Wisconsin-Milwaukee
    qkmadson@uwm.edu

  2. #2
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    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 04: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
  •