public static Object invokeEJB(String ejbName,
String methodName,
Class[] parmClasses,
Object[] parameters) throws AxisFault {
try {
ContainerIndex index = ContainerIndex.getInstance();
int length = index.length();
log.info("number of continers " + length);
for (int i = 0; i < length; i++) {
EJBContainer contianer = index.getContainer(i);
if (contianer != null) {
String name = contianer.getEJBName();
log.debug("found the ejb " + name);
if (ejbName.equals(name)) {
EJBHome statelessHome = contianer.getEJBHome();