I have been playing with trying to get a cross domain request to work for a
few hours now with no success. I created a request, and loaded a local file
and it does what I want it to do. But as soon as I change the URL to a
remote location and set the CrossDomain to true, I always get:

ERROR: qx.io.remote.Exchange[447]: There is no transport implementation
available to handle this request: [object qx.io.remote.Request]

Here is what the code looks like (yes the file exists so there is no issue
there):

    var rpc = new qx.io.remote.Request();
    rpc.setResponseType('text/html');
    rpc.setUrl("http://www.solumina.com/webexpress/top_banner.html";);
    rpc.setCrossDomain(true);
    rpc.addEventListener('completed', function(e){
       var s = e.getData().getContent();
       mainWin.info(s);
    })
    rpc.send();

Anyone have an idea why cross domain does not work? I tried RPC also but
since I am returning an HTML page it chokes and tells me that it couldn't
parse the JSON code. I think the RPC request requires JSON.

Thanks,
Jim
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to