DefaultResponse.sendInfoResponse(pw, rs, myDDS, myDAS);
DefaultResponse.sendInfoResponse(pw, rs, ddx, das);
    public void sendInfo(HttpServletRequest request,                         HttpServletResponse response,                         ReqState rs)            throws Exception {        response.setContentType("text/html");        response.setHeader("XDODS-Server", getXDODSServerVersion());        response.setHeader("XOPeNDAP-Server", getXOPeNDAPServerVersion());        response.setHeader("XDAP", getXDAPVersion(request));        response.setHeader("Content-Description", "dods_description");        if (Debug.isSet("showResponse"))            System.out.println("doGetINFO For: " + rs.getDataset());        ServerDDS myDDS;        DAS myDAS;        OPeNDAPClient oc = BesAPI.startClient();        BesAPI.configureTransaction(oc, rs.getDataset(), rs.getConstraintExpression());        ByteArrayOutputStream os = new ByteArrayOutputStream();        BesAPI.getDataProduct(oc, BesAPI.getAPINameForDDS(), os);        ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray());        myDDS = new ServerDDS(new DefaultFactory());        myDDS.parse(is);        os = new ByteArrayOutputStream();        BesAPI.getDataProduct(oc, BesAPI.getAPINameForDAS(), os);        BesAPI.shutdownClient(oc);        is = new ByteArrayInputStream(os.toByteArray());        myDAS = new DAS();        myDAS.parse(is);        PrintStream pw = new PrintStream(response.getOutputStream());        DefaultResponse.sendInfoResponse(pw, rs, myDDS, myDAS);        response.setStatus(HttpServletResponse.SC_OK);    }