Hi Derrel,

here is a simple function that you can add to test.php in services/qooxdoo:
    function method_query($params, $error)
    {
            $db = pg_connect("host=localhost dbname=test user=postgres");
            $query = "SELECT * FROM test";
            $result = pg_query($query);
            return pg_fetch_row($result);

    }
You don't need to install a db in order to test it. PHP-script will not be able to connect to it and
qx.io.remote.XmlHttpTransport will throw following error:
...Unable to connect to PostgreSQL server:...
But in RPC_1.html you'll become
Sync result: undefined
what means that callAsync() didn't becomme this error propagated.

Best Regards,
alex.d

Hi Alex,

If you can provide a test file which can be added to a /services/ directory in
the PHP JSON-RPC server that causes this problem with one of the RPC_*.html
test files, I'll ensure it gets fixed.  You're supposed to get proper error
indications propagated to the application upon various classes of errors.

Cheers,

Derrell

  
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to