Matthieu Codron a écrit :
Hi,
Nicolas Raspail wrote:
Hello,
when playing with Catalyst::Plugin::Server::XMLRPC following the
documentation, I get the same behaviour as Joe.
Hmmm.... I thought it was just me.
I have search the archive and found thie mail from Joe Landman , and
he has the same problem, but unfortunately, nobody answer him.
True. I am guessing that this is due to few people using XMLRPC in
Catalyst. This is a shame as it really looks like a nice module to
use , and is exactly what I want to do ... I have since hacked what I
need to do into some controllers/display logic outside of XMLRPC,
though I would rather get XMLRPC going.
I'm using this Catalyst::Plugin::Server::XMLRPC alongside RenderView
without problems. To avoid forwarding to RenderView, I'm just putting a
value in the response body at the end of the action, e.g.
$c->response->body(1);
Looks like a hack, but it works. The contents of the response body are
overwritten by the plugin.
Hi Matthieu,
yes, I'm doing the same thing, but as you said, that looks like a hack,
and I would like to be sure it is the right thing to do
Thanks
Nicolas
_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/