final String handlerName,
final XmlRpcConnection xmlRpcConnection )
{
final Object apiClient = Proxy.newProxyInstance( Thread.currentThread().getContextClassLoader(),
new Class[]{ XmlRpcClient.class, apiClass },
new ClientInvocationHandler( new StandardXmlRpcClient() ) );
final XmlRpcClient asClient = (XmlRpcClient)apiClient;
asClient.setConnection( xmlRpcConnection );
asClient.setHandlerName( handlerName );