<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have a newly developed RESTful interface to an existing server using C::C::REST. Works nicely -- Catalyst is a very nice tool, and the REST extensions are very helpful.<div><br></div><div>The server has existing services that are orthogonal to the RESTful interface. I don't really wish to RESTify them so I'd like to expose them as XML-RPC.</div><div><br></div><div>Per the tutorial (<a href="http://search.cpan.org/~michiel/Catalyst-Plugin-Server-0.24/lib/Catalyst/Plugin/Server/XMLRPC/Tutorial.pod">http://search.cpan.org/~michiel/Catalyst-Plugin-Server-0.24/lib/Catalyst/Plugin/Server/XMLRPC/Tutorial.pod</a>&nbsp;) I added "Server Serve::XMLRPC" to my "use Catalyst" line.</div><div><br></div><div>I now receive this:</div><div>-------</div><div><div>RestRPC has a custom request class Catalyst::Plugin::Server::Request, which is not a Catalyst::Request::REST; see Catalyst::Request::REST at /Library/Perl/5.8.8/Catalyst/Request/REST.pm line 29.</div><div>Compilation failed in require at script/restrpc_server.pl line 55.</div><div>-------</div><div><br></div><div>I see this in the REST doc:</div><div>-------</div><div><div>Note that if you have a custom request class in your application, and it does</div><div>not inherit from C&lt;Catalyst::Request::REST>, your application will fail with an</div><div>error indicating a conflict the first time it tries to use</div><div>C&lt;Catalyst::Request::REST>'s functionality. &nbsp;To fix this error, make sure your</div><div>custom request class inherits from C&lt;Catalyst::Request::REST>.</div><div>-------</div><div>but that doesn't seems like an option here. (These are peers, not parent/child classes)</div><div><br></div></div><div>Am I missing something obvious?</div><div><br></div><div>Is there another way to do XML-RPC + REST?</div><div><br></div><div>Seems like I could just handle the POSTs with non-ActionClass('REST') methods -- but then it becomes "not quite XML-RPC".</div><div><br></div><div>Thanks,</div><div><br></div><div>Bruce</div><div><br></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>---</div><div>Bruce McKenzie</div><div><a href="mailto:brucem@dynamicrange.com">brucem@dynamicrange.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>