public Object getReportes(String descriptorSource) throws ReporteJasperException {
        
        ArrayList lista=null;
        
        //System.out.println(""+descriptorSource);
        
        try {
            
            org.w3c.dom.Document descriptorXML;
            descriptorXML = stringToDom(descriptorSource);
            org.w3c.dom.Element rootElement = descriptorXML.getDocumentElement();
            org.w3c.dom.NodeList nodeList = rootElement.getElementsByTagName("resourceDescriptor");
            
            
            
            if (nodeList != null && nodeList.getLength() > 0) {
                lista=new ArrayList();
                for (int i = 0; i < nodeList.getLength(); i++) {
                    
                    ReporteJasperVO reporteJasperVO =new ReporteJasperVO();
                    org.w3c.dom.Element element = (Element) nodeList.item(i);
                    org.w3c.dom.Element el = null;
                    org.w3c.dom.NodeList nodeList2 = null;
                    
                    reporteJasperVO.setName(element.getAttribute("name") );
                    reporteJasperVO.setWsType(element.getAttribute("wsType") );
                    reporteJasperVO.setUriString(element.getAttribute("uriString") );
                    
                    nodeList2 = element.getElementsByTagName("label");
                    el = (Element) nodeList2.item(0);
                    reporteJasperVO.setLabel(el.getFirstChild().getNodeValue());

                    nodeList2 = element.getElementsByTagName("description");
                    el = (Element) nodeList2.item(0);
                    reporteJasperVO.setDescription(el.getFirstChild().getNodeValue());
                    
                    
                    nodeList2 = element.getElementsByTagName("creationDate");
                    el = (Element) nodeList2.item(0);
                    reporteJasperVO.setCreationDate(el.getFirstChild().getNodeValue());
                    
                    
                    
                    nodeList2 = element.getElementsByTagName("resourceProperty");
                    el = (Element) nodeList2.item(0);
                    if (nodeList2 != null && nodeList2.getLength() > 0) {
                        
                        LinkedHashMap resourceProperty=new LinkedHashMap();
                        for (int k = 0; k < nodeList2.getLength(); k++) {
                            org.w3c.dom.Element element2 = (Element) nodeList2.item(k);
                            org.w3c.dom.NodeList nodeList3 = element2.getElementsByTagName("value");
                            org.w3c.dom.Element el3 = (Element) nodeList3.item(0);
                            resourceProperty.put(element2.getAttribute("name") , el3.getFirstChild().getNodeValue());
                        }
                        reporteJasperVO.setResourceProperty(resourceProperty); 
                       
                    }
                        
                    
                    lista.add(reporteJasperVO);
                }
            }
        
        
         } catch (SAXException ex) {
            throw new ReporteJasperException(ex.getMessage());
        } catch (ParserConfigurationException ex) {
           throw new ReporteJasperException(ex.getMessage());
        } catch (IOException ex) {
          throw new ReporteJasperException(ex.getMessage());
            
        }
        
        return lista;

    }