WFS_1_0_0_DataStore ds;
int totalFeatures;
URL host=new URL("http://mapserver.refractions.net/cgi-bin/mapserv48?map=/home/www/mapserv/maps/victoria-wms.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities");
WFSDataStoreFactory dsfac = new WFSDataStoreFactory();
Map params = new HashMap();
params.put(WFSDataStoreFactory.URL.key, host);
params.put(WFSDataStoreFactory.TIMEOUT.key, 10000);
params.put(WFSDataStoreFactory.BUFFER_SIZE.key, 100);
params.put(WFSDataStoreFactory.TRY_GZIP.key, Boolean.TRUE);
params.put(WFSDataStoreFactory.LENIENT.key, Boolean.TRUE);
//ds=new WFSDataStore(host, null, null, null, 10000, 100, true, true);
ds = (WFS_1_0_0_DataStore) dsfac.createDataStore(params);
assertTrue( ds.strategy instanceof MapServerWFSStrategy );
FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2();
String attName = ds.getSchema(TYPE_NAME).getGeometryDescriptor().getLocalName();