/**
* @see nexj.core.rpc.xml.Invoker#invoke(nexj.core.rpc.Server)
*/
public Object invoke(Server server)
{
Response response = server.invoke(m_request);
List resultList = new ArrayList(response.getResultCount());
for (int i = 0; i < response.getResultCount(); ++i)
{
resultList.add(response.getResult(i));
}
return new XMLCollection(m_metaclass, resultList, m_sResponseType);
}