private static ArrayList<String> findArrayValue(String name,
WSIFMessageElement response) {
XmlElement param = response.element(null, name);
if (param != null) {
Iterable it = param.elements(null, "value");
if (it != null) {
ArrayList<String> values = new ArrayList<String>();
Iterator arrayValues = it.iterator();
while (arrayValues.hasNext()) {
values.add(((XmlElement) arrayValues.next())
.requiredTextContent());
}
return values;