Element dataset = new Element("DataSet"); Element dpath = new Element("path"); Element ce = new Element("ConstraintExpression");
Element dataset = new Element("DataSet",SoapNamespaces.getOpendapSoapNamespace()); Element dname = new Element("name",SoapNamespaces.getOpendapSoapNamespace()); Element ce = new Element("ConstraintExpression",SoapNamespaces.getOpendapSoapNamespace());
    public static  Element getDDXRequestElement(String path, String constraintExpression){        Element req = new Element("Request");        UID reqID = new UID();        req.setAttribute("reqID",reqID.toString());        Element cmd = new Element("GetDDX");        Element dataset = new Element("DataSet");        Element dpath = new Element("path");        Element ce = new Element("ConstraintExpression");        dpath.addContent(new Text(path));        ce.addContent(new Text(constraintExpression));        dataset.addContent(dpath);        cmd.addContent(dataset);        dataset.addContent(ce);        req.addContent(cmd);        return req;    }