}
Object[] values = valueList.toArray( EMPTY_CLASS_ARRAY );
Object response = engine.invokeProcedure( session.getCoreSession(), procedure, values );
byte[] serializedResponse = SerializationUtils.serialize( ( Serializable ) response );
StoredProcedureResponse resp =
LdapApiServiceFactory.getSingleton().newExtendedResponse( req, serializedResponse );
session.getIoSession().write( resp );
}