Parameter[] params = new Parameter[parameters.length];
for (int i=0; i<parameters.length; i++) {
params[i] = new Parameter(parameters[i].first, new ParameterType(parameters[i].second, null),true);
}
final OperationDefinition operationDef = new SimpleOperationDefinition( operationKey, params,new ParameterType(response, null ) );
return new ExecutionVenue() {
public void execute(ExecutionContext ctx, OperationKey key, Object[] args, ExecutionObserver observer, TimeConstraints timeConstraints) {}
public void execute(ExecutionContext ctx, OperationKey key, Object[] args, ExecutionObserver observer, Executor executor, TimeConstraints timeConstraints) {}