if(event.getNewValue() instanceof List<?>){
List<String> types = (List<String>) event.getNewValue();
Iterator<String> iterator = types.iterator();
while(iterator.hasNext()){
try{
Request request = new Request(Method.GET,"http://info.teragrid.org/restdemo/xml/tg/services/"+iterator.next());
Client client = new Client(Protocol.HTTP);
Response response = client.handle(request);
DomRepresentation representation = response.getEntityAsDom();
Document document = representation.getDocument();
NodeList nodeList = document.getElementsByTagName("Service");