Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-24 Thread Derrell Lipman
On Wed, Jun 24, 2009 at 5:13 AM, Michael Ochs wrote: > Great, everything works fine now! Sorry for my very late answer. I am > working on this project only once a week. > > Another question: What do I have to do if I want to throw my own error > codes? For example something like "no entries selec

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-24 Thread Michael Ochs
Great, everything works fine now! Sorry for my very late answer. I am working on this project only once a week. Another question: What do I have to do if I want to throw my own error codes? For example something like "no entries selected", if return is an empty dataset? Do I have to return t

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-19 Thread panyasan
Ok, fixes are committed, please update. -- View this message in context: http://www.nabble.com/RPC-Server%3A-JsonRpcError%28%29-tp24093948p24119987.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ---

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-19 Thread panyasan
Hi Derrell, Derrell Lipman wrote: > > If you can run RpcExample, all tabs, using your server and an > *unaltered*test.php and remoteTableTest.php > *copied from 1.0.0*, then you've likely got a properly working server. In > particular, the third and fourth tabs, the sync and async tests, run >

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread Derrell Lipman
On Thu, Jun 18, 2009 at 4:00 PM, panyasan wrote: > > Ok, I see what the problem is. The codebase I used to write the OO-Style > server was the PHP4-version of Derrell's server script, which he had > updated > in the meantime to PHP5 only. I am still aiming for PHP4 compatibility, > since there ar

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread panyasan
Derrell Lipman wrote: > > Ah, yes. It appears that the new (trunk) version of the PHP backend has > broken the interface to JsonRpcError. I'm cc:ing Christian so he can > hopefully get that fixed. (Christian, if you need those extra parameters > in > your implementation, you can probably just mo

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread Derrell Lipman
On Thu, Jun 18, 2009 at 2:59 PM, panyasan wrote: > > > But seriously, of course this is a bug that needs to be fixed. It would be > great, Derrell, if you could help by running your test suite and pointing > out other errors like this. I have only recently switched to PHP5 that is > why some PHP5

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread panyasan
While I am at it, would anyone object if I rename the "impl" folder which holds the service classes to "class"? Seems more intuitive to me, I was never so comfortable with "impl" - it looks funny from a German language perspective :-) Christian -- View this message in context: http://www.nabbl

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread panyasan
Hi, I wasn't aware anyone but me was using the trunk version of the PHP JsonRpc server, so this is good news ;-) But seriously, of course this is a bug that needs to be fixed. It would be great, Derrell, if you could help by running your test suite and pointing out other errors like this. I have

Re: [qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread Derrell Lipman
On Thu, Jun 18, 2009 at 9:15 AM, Michael Ochs wrote: > Hi, > > I'm currently working on the basics of a quite big RPC server. I'm > using the qooxdoo rpc server for php. In the test class it says you > can call > throw new JsonRpcError(ERRORCODE, ERRORMESSAGE); > from everywhere in your script. >

[qooxdoo-devel] RPC Server: JsonRpcError()

2009-06-18 Thread Michael Ochs
Hi, I'm currently working on the basics of a quite big RPC server. I'm using the qooxdoo rpc server for php. In the test class it says you can call throw new JsonRpcError(ERRORCODE, ERRORMESSAGE); from everywhere in your script. But when I try this (and even when I run the test service) it sa