@Override
	public void run() {
		BufferedReader reply = makeRequest();
		if(reply == null) // Stop immediately if the request did not generate a response.
			return;

		/* Send the request to be interpreted and forward the found layers
		 * to the main GSInsert object. */
		if(parseXml(reply)) {
			mUi.publishFields(mFields);
			mUi.setNamespace(mLayerNamespace);
			for(LayerField field : mFields) {
				System.out.println(field.getName() + " " + field.getType() + ((field.getNullable()) ? "" : " NOT NULL"));
			}
		}
		else
			mUi.displayAlert(GSInsert.PARSE_ERROR_TITLE, GSInsert.PARSE_ERROR_MESSAGE, JOptionPane.ERROR_MESSAGE);
	}