private static void xml2bean(String xml,BaseResponse bean){
		if(xml==null||xml.length()==0){
			bean.setCode("-2");
			bean.setInfo("未获取到xml");
			return;
		}
		try {
			Document doc = DocumentHelper.parseText(xml);
			Element root = doc.getRootElement();
			@SuppressWarnings("unchecked")
			List<Element> eles =  root.elements();
			for(Element e : eles){
				try{
					BeanUtils.setProperty(bean, e.getName(), e.getTextTrim());
				}catch(Exception ie){
					log.error(bean.getClass()+" has not "+e.getName(), ie);
				}
			}
		} catch (DocumentException e) {   
		    log.error("读取人员配置内容错误！"+xml, e);  
		    bean.setCode("-7");
		    bean.setInfo("xml解析出错");
		}catch(Exception e){
			log.error("解析错误"+xml, e);
			bean.setCode("-7");
			bean.setInfo("xml解析出错");
		}
	}