The WSRPCClient in the Wiki uses JNDI to lookup a web service, it uses the following statement to set up the context:
The client does not access the servers JNDI tree.
Lets preach this again: Your fat clients or non trivial cmd line apps should run on JBoss. At its bare minimum this buys you nameing/lookup (JNDI) and managment (JMX). These two every non trivial app would need anyway. On top of that you can deploy preconfigured WS4EE clients and don't have to use ugly DII.