I finally figured out what was going on with my app.  I'm using the PHP 
rpc implementation in qooxdoo-contrib.  The request goes the server, 
gets picked up by index.php but because the method used is "OPTIONS" and 
not POST or GET, index.php is replying with the following:

JSON-RPC request expected; service, method or params missing<br>

But in my App I see:
Async(13) exception: Transport error 0: Unknown status code

The 13 in the parens up there keeps incrementing each time I hit the 
buttons.  What the heck is up with that?  App code follows:

      var button1 = new qx.ui.form.Button("Send Rpc Request", 
"simwebui/test.png");
      var rpc = new qx.io.remote.Rpc();
      var mycall = null;
      //var container = new qx.ui.container.Composite(new 
qx.ui.layout.Basic());

      // Document is the application root
      var doc = this.getRoot();
   
      // Add an event listener
      button1.addListener("execute", function(e) {
        button1.setEnabled(false);
    var rpc = new qx.io.remote.Rpc();
    rpc.setTimeout(10000);
    rpc.setUrl("http://192.168.10.180/services/";);
    rpc.setServiceName("qooxdoo.test");

    // call a remote procedure -- takes no arguments, returns a string
    var that = this;
    this.RpcRunning = rpc.callAsync(
      function(result, ex, id)
      {
        that.RpcRunning = null;
        if (ex == null) {
            alert(result);
        } else {
            alert("Async(" + id + ") exception: " + ex);
        }
        button1.setEnabled(true);
      },
      "echo.blabla");


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to