Hi Nick,
I've done this, and here's the output:
=== startSession id: 860001129e7de693d7265bfb16889be9
$cgi->param:
1
$cgi->save:
keywords=%7B%22service%22%3A%22qooxdoo.test%22%2C%22method%22%3A%22echo%
22%2C%22id%22%3A8%2C%22params%22%3A%5B%22Hello%22%5D%2C%22server_data%22
%3Anull%7D
=
request_method=POST
POST Content type is 'application/json'
param->('POSTDATA')=
JSON received:
=======
It looks like no POSTDATA is being sent.
James
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Glencross
Sent: 31 January 2007 17:20
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Perl RPC - problems running
James,
> On 31/01/07, James Lavery <[EMAIL PROTECTED]> wrote:
> > Hi Nick,
> > I've amended the JSONRPC.pm to log to a file wherever it was
> > printing to STDERR, and am getting the following log information:
> >
> > Session id: f9373329e104dd87a652d093832b9523 POST Content type is
> > 'application/json'
> > JSON received:
> >
> >
> > I see that it's receving POST rather than GET - is this the problem?
> > (And if so, any pointers on where to fix it?)
One other thing that would be good is to either add
print STDERR $cgi->param, "\n";
or
$cgi->save (*STDERR);
or both (but converted to the file that your file handle) so that we see
what values are being passed through (to see if it's perhaps lower case,
or not supplied at all).
Cheers,
Nick
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
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