private String getXmlStringFromUrl(String urlStr) throws Exception {
        URL url = new URL(urlStr);
        BufferedReader reader = null;
        StringBuffer xmlStr = new StringBuffer();
        try {
            reader = new BufferedReader(new InputStreamReader(url.openStream()));
            String temp = null;
            while ((temp = reader.readLine()) != null) {
                xmlStr.append(temp);
            }
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            reader.close();
        }
        return xmlStr.toString();
    }