final Map<String, Object> actionParams = new HashMap<String, Object>();
actionParams.putAll( params );
if ( streamProvider != null ) {
actionParams.put( "inputStream", streamProvider.getInputStream() );
}
actionHarness.setValues( actionParams, new ActionSequenceCompatibilityFormatter() );
if ( actionBean instanceof IVarArgsAction ) {
actionParams.remove( "inputStream" );
actionParams.remove( "outputStream" );
( (IVarArgsAction) actionBean ).setVarArgs( actionParams );