Chanaka,
chanaka jayasena wrote:
Hi all,

WSO2 ESB is not working with the Firefox newest version (Version 3). I have been able to find a solution for this.
Cool !!

In ESB UI we are using <xmlObject>.getElementsByTagName("Body")[0].childNodes[0] to read the Soap body of a Soap message. But Firefox3 is no longer supporting this method to read Soap body.
I think the issue is the getElementsByTagName expects a QName but we are giving just the localName. Have you tried giving it a fully qualified QName of the Body element? Otherwise this issue seems a little odd, because it is working for other elements. If you look at this code you will find getElementsByTagName method used twice at each and every place to make sure both IE and FF works, because earlier IE was expecting a fully qualified QName where as FF requires just the localName. I think it was an issue on the FF and they seemed to fix that.
How ever there is an alternative method (<xmlObject>.documentElement.childNodes[1]) ,which we can use to overcome this problem. This fix needed to be done in the "Admin Framework". I think we need to do a new release on the branch of "Admin Framework" we are currently using with this fix.
Of course, we can fix this issue on the adminui-1.2 branch and get a new point release (1.2.1) to get this fixed.

There are lot of places in our ESB code which is using this method and some other incompatibilities that needed to be fixed. I have fixed most of them by now and there are 2 remaining unresolved problems in "Statistics" and "System Information" sections. I will commit the code to ESB trunk as soon as I am done with these issues.
Good to here that you got it to work on FF-3.

Thanks,
Ruwan

Thanks,
Chanaka




_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev



_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to