featureType.setNamespace( catalog.getNamespaceByPrefix( workspace ) );
}
featureType.setEnabled(true);
CatalogBuilder cb = new CatalogBuilder(catalog);
cb.initFeatureType( featureType );
if ( featureType.getStore() == null ) {
//get from requests
DataStoreInfo ds = catalog.getDataStoreByName( workspace, dataStore );
featureType.setStore( ds );