Don't do it. The world doesn't need another RPC system. It's perfectly reasonable to reject SOAP but that doesn't mean you can't find something out there which will meet your needs. Personally I've found that the upsides to just using Apache/mod_perl far outweigh the downsides inherent in using a state-less protocol.