StringToStringMap nsMappings = StringToStringMap.fromXml(values.get(NAMESPACE_MAPPING));
if (!nsMappings.isEmpty()) {
GlobalType global = config.addNewGlobal();
for (Map.Entry<String, String> namespaceEntry : nsMappings.entrySet()) {
PkgNSType entry = global.addNewPackageNamespace();
entry.setNamespace(namespaceEntry.getKey());
entry.setPackage(namespaceEntry.getValue());
}
}
} catch (Exception e) {
SoapUI.logError(e);
}