}
public Object directEjbInvoke(Exchange exchange,
Method m,
List<Object> params) throws Exception {
InvocationContext invContext = exchange.get(InvocationContext.class);
Object[] paramArray;
if (params != null) {
paramArray = params.toArray();
} else {
paramArray = new Object[]{};
}
invContext.setParameters(paramArray);
Object res = invContext.proceed();
ContextPropertiesMapping.updateWebServiceContext(exchange,
(MessageContext)invContext.getContextData());
return res;
}