Hi,
i want to implement an xml-rpc client with qooxdoo, but i keep on getting
"Async(2) exception: Transport error 0: Unknown status code" for the
following code:

txtTimeout=new qx.ui.form.TextField("100000");
win.add(txtTimeout);
      
txtUrl=new qx.ui.form.TextField("http://127.0.0.1:8080";);
win.add(txtUrl);
            
txtSName=new qx.ui.form.TextField("qooxdoo.admin");
win.add(txtSName);
      
txtMethodname=new qx.ui.form.TextField("sample.l");
win.add(txtMethodname);
      
txtParams=new qx.ui.form.TextField("[1,2]");
win.add(txtParams);
      
      btnsend.addListener("execute", function(e) {
        rpc.setTimeout(eval(txtTimeout.getValue()));
        rpc.setUrl(txtUrl.getValue());
        rpc.setServiceName(txtSName.getValue());
        rpc.setCrossDomain(false);
       
        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);
              }
         },
         txtMethodname.getValue());
      }, this);
    
win.add(btnsend);



I the folder "services" form the phprpc package to the root of my server.
And my webrick xmlrpc server does not notice a query.
Google couldn't help me out with this, could you please?

Ps: could it be a problem with my browser? Its Firefox 3.0.4, and the Python
exsample form http://python.cx.hu/qxjsonrpc/wsgi/fs.html does not work, but
http://python.cx.hu/qxjsonrpc/wsgi/login.html does.

horst
-- 
View this message in context: 
http://www.nabble.com/xml-rpc%3A-Async%282%29-exception%3A-Transport-error-0%3A-Unknown-status-code-tp21054575p21054575.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to