String baseURI ="http://" + host + ":" + port + "/xmlrpc";
if ( connection != null ) {
if ( connection.equals(SECURE) ) {
baseURI ="https://" + host + ":" + port + "/xmlrpc";
client = new SecureXmlRpcClient(baseURI + clientPath);
}
else
client = new XmlRpcClient(baseURI + clientPath);
}
else