Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-14-2008, 01:27 PM
New Member
 
Posts: 4
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:
Check out 'Contact Cleaner' Zimlet (deletes and merges duplicate contacts)

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
Reply With Quote
  #2 (permalink)  
Old 08-19-2008, 03:20 PM
Zimbra Employee
 
Posts: 187
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");
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!

Last edited by rrao; 08-19-2008 at 03:24 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.