日期:2014-05-18 浏览次数:20705 次
public Object[] useService(String url, String methodName, Object[] params)
{
Object[] result = null ;
Client client = null;
try
{
client = new Client(new URL(url));
result = client.invoke(methodName, params);
}
catch (Exception e)
{
e.printStackTrace();
}
return result ;
}