}
// build DataRequest (clone dynamicParams so we don't alter the ones from binding layer)
Map<String, Object> mutableParamValues =
new LinkedHashMap<String, Object>((Map<String, Object>) action.getParamsMap());
DataRequest dataRequest = new DataRequestImpl(structDef, mutableParamValues, invokedDef);
// get root XML element from dataProvider
final DataProvider dataProvider = invokedDef.getProviderInstance(DataProvider.class);
Element element = dataProvider.getRootElement(dataRequest);
if (logger.isFine() && !(dataProvider instanceof WSDataProvider)) {