in reply to Blessed Objects and RPC

To put it simply, SOAP has nothing to do with object-oriented programming. It is a way to present a (very slow) functional interface to external systems. You should treat it as such, and make the API very coarse-grained so that you can reduce the number of calls it will take to get things done. Yes, the performance is bad enough that you have to care about things like that.

To maintain state, think of it more like a typical web browser interaction. Give clients a cookie, or a session ID or something that you can use to re-establish the current state of a multi-part interaction on the server side.

If you want something lightweight that does allow objects to be passed, there are some older RPC mechanisms on CPAN that are faster, simpler, and more capable. However, they are Perl-specific, they still just pass things by serializing with Storable, and they have mostly been abandoned in favor of more general standards like SOAP.