in reply to Generic webservice interface

Catalyst::Controller::REST

JSORB

Catalyst::Plugin::Server::XMLRPC

I'd highly recommend a Catalyst app of some sort (or Jifty, etc, choose your poison) and their plugins to handle serialization and deserialization of data/requests, so you could also allow for REST and other such useful protocols commonly used in web applications.

mtfnpy