I thought you wanted to use RPC? If that's the only place where the sub is called, then you're not using RPC.
In reply to Re^4: RPC::XML error by ikegami in thread RPC::XML error by Aishu