[ https://issues.apache.org/activemq/browse/SM-496?page=all ]

Guillaume Nodet resolved SM-496.
--------------------------------

    Fix Version/s: 3.0-M3
                       (was: 3.0-M2)
       Resolution: Fixed
         Assignee: Guillaume Nodet

Awesome, thx a lot for this fix.

Author: gnodet
Date: Mon Jul 24 07:58:53 2006
New Revision: 425083

URL: http://svn.apache.org/viewvc?rev=425083&view=rev
Log:
SM-496: allow the soap-binding example to run in FireFox
Fix provided by Christopher Steinmeyer

Modified:
    
incubator/servicemix/trunk/apache-servicemix/src/main/release/examples/soap-binding/README.txt
    
incubator/servicemix/trunk/apache-servicemix/src/main/release/examples/soap-binding/build.xml
    
incubator/servicemix/trunk/apache-servicemix/src/main/release/examples/soap-binding/client.html



> 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
>         Assigned To: Guillaume Nodet
>            Priority: Minor
>             Fix For: 3.0-M3
>
>         Attachments: client.html
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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

        

Reply via email to