Allows the soap-binding example to run in FireFox.
--------------------------------------------------
Key: SM-496
URL: https://issues.apache.org/activemq/browse/SM-496
Project: ServiceMix
Issue Type: Improvement
Components: servicemix-components
Affects Versions: 3.0-M2
Environment: FireFox web browser version 1.5.0.4
Reporter: Christopher Steinmeyer
Priority: Minor
Fix For: 3.0-M2
Attachments: client.html
The soap-binding example included with ServiceMix-3.0 M2 does not work with
FireFox. When a request is submitted from within FireFox the browser returns
an "error opening" message.
The JavaScript error is:
Error: uncaught exception: [Exception... "Component returned failure code:
0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult:
"0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame ::
file://<SERVICEMIX_HOME>/examples/soap-binding/client.html :: send :: line 61"
data: no]
Elevating the privileges of the script needs to be done within the function
that is opening the request. Moving the line:
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead
UniversalBrowserWrite");
from line 28 to just before the xmlhttp.open() call on line 57 grants the
function the appropriate privileges.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira