Code example for Logger

Methods: fine

0
     *  
     * @param wsdlLocation 
     * @return the QName 
     */ 
    private QName determineServiceQNameFromWsdl() {
    	log.fine("determining qname");
        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
 
        // Using factory get an instance of document builder 
        DocumentBuilder db;
        try { 
        	log.fine("new doc builder");
            db = dbf.newDocumentBuilder();
        } catch (ParserConfigurationException e) {
            e.printStackTrace();
            return null; 
        } 
 
        // parse using builder to get DOM representation of the XML file 
        Document dom;
        try { 
        	log.fine("parsing wsdl");
            dom = db.parse(wsdlLocation.openStream());
        } catch (Exception e) {
            e.printStackTrace();
            return null; 
        } 
 
        // get the root elememt 
        Element root = dom.getDocumentElement();
        log.fine("getting root element");
        return new QName(root.getAttribute("targetNamespace"), root
                .getAttribute("name"));
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java