// normal execution (no subObject)
} else {
String templateBase64Coded = request.getParameter("template");
BASE64Decoder bASE64Decoder = new BASE64Decoder();
byte[] template = bASE64Decoder.decodeBuffer(templateBase64Coded);
is = new java.io.ByteArrayInputStream(template);
org.dom4j.io.SAXReader reader = new org.dom4j.io.SAXReader();
Document document = reader.read(is);
nameConnection = request.getParameter("connectionName");
query = document.selectSingleNode("//olap/MDXquery").getStringValue();