in reply to Perl RPC
++. Totally agree.
This approach has been slightly formalised in REST. Often a lot less painful than SOAP in my opinion.