getConfig().setHeaderArray(new HeaderConfig[0]);
for (Map.Entry<String, List<String>> header : headers.entrySet()) {
for (String value : header.getValue()) {
HeaderConfig headerConfig = getConfig().addNewHeader();
headerConfig.setName(header.getKey());
headerConfig.setValue(value);
}
}
notifyPropertyChanged(WsdlMockResponse.HEADERS_PROPERTY, oldHeaders, headers);
}