private BufferedReader makeRequest() {
		URL request;

		try { // Check that the URL is ok and form the request URL.
			System.out.println(mUrl + "/wfs");
			request = new URL(mUrl + "/wfs");
		} catch (MalformedURLException e) {
			mUi.displayAlert(GSInsert.URL_WARNING_TITLE, GSInsert.URL_WARNING_MESSAGE, JOptionPane.WARNING_MESSAGE);
			return null;
		}
		
		String insertXml = formXml();
		System.out.println(insertXml);
		
		/* Perform the request. */
		HttpURLConnection con;
		int responseCode = 0;
		try {
			con = (HttpURLConnection) request.openConnection();
			con.setDoOutput(true);
			con.setRequestProperty("content-type", "text/xml");
			if(!mUser.equalsIgnoreCase("") || !mPass.equalsIgnoreCase(""))
				con.setRequestProperty("Authorization", "Basic " + DatatypeConverter.printBase64Binary(new String(mUser + ":" + mPass).getBytes("UTF-8")));
			DataOutputStream stream = new DataOutputStream(con.getOutputStream());
			stream.write(insertXml.getBytes("UTF-8"));
			stream.flush();
			stream.close();

			responseCode = con.getResponseCode();

			BufferedReader response = new BufferedReader(
			        new InputStreamReader(con.getInputStream()));
			return response;
		} catch (IOException e) {
			e.printStackTrace();
			if(responseCode == RESPONSE_UNAUTHORIZED)
				mUi.displayAlert(GSInsert.RESPONSE_UNAUTHORIZED_TITLE, GSInsert.RESPONSE_UNAUTHORIZED_MESSAGE, JOptionPane.WARNING_MESSAGE);
			else
				mUi.displayAlert(GSInsert.CON_ERROR_TITLE, GSInsert.CON_ERROR_MESSAGE, JOptionPane.WARNING_MESSAGE);
			return null;
		}		
	}