public static List<XMLElement> getActions(XMLElement service) {
		
		// is a service?
		// TODO more specific control
		if (!service.getAddress().startsWith("/jbossesb/services/")) {
			return new ArrayList<XMLElement>();
		}
		
		// locate actions
		for (XMLElement child : service.getChildren()) {
			if (child.getAddress().equals("/jbossesb/services/service/actions")) {
				return child.getChildren();
			}
		}
		
		return new ArrayList<XMLElement>();
	}