JSON-RPC might be an idea.
Alexander
In reply to Re^2: Preferred RPC method? by afoken in thread Preferred RPC method? by jdrago_999