// Fetch the WFS for the world root path, flag an error if it does
// not yet exist.
String rootPath = cellDescriptor.getRootPath().getRootPath();
WFS wfs = manager.getWFS(cellDescriptor.getRootPath());
if (wfs == null) {
logger.warning("[WFS] The WFS " + rootPath + " does not exist.");
return Response.status(Status.BAD_REQUEST).build();
}
// Fetch the root directory, this should exist
WFSCellDirectory wfsDirectory = wfs.getRootDirectory();