@SuppressWarnings("unchecked")
	public static void request() throws IOException{
		URL url = new URL("http://127.0.0.1:8080/gsz_weixin1/coreServlet");
		
		HttpURLConnection con = (HttpURLConnection) url.openConnection();
		
		con.setRequestMethod("POST");
		
		con.setConnectTimeout(5 * 1000);
		
		con.setDoInput(true);
		
		con.setDoOutput(true);
		
		con.setRequestProperty("Content-Type", "text/xml; charset=UTF-8");
		
		con.connect();
		
		DataOutputStream out = new DataOutputStream(con.getOutputStream());
		
		out.write(event().getBytes());
		
		out.flush();
		
		out.close();
		
		if(con.getResponseCode() == 200){
			InputStream inputStream = con.getInputStream();
			
			SAXReader reader = new SAXReader();
			
			Document document = null;
			
			try {
				document = reader.read(inputStream);
			} catch (DocumentException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
			Element root = document.getRootElement();
			
			List<Element> elementList = root.elements();
			
			for (Element e : elementList) {
						System.out.println(e.getText());
			}
			
			inputStream.close();
			inputStream = null;
			
		}
		
		
	}