WFSClient extends AbstractOpenWebService<WFSGetCapabilities, QName> { public Set<QName> getRemoteTypeNames() { Set<QName> featureTypeNames = getStrategy().getFeatureTypeNames(); return featureTypeNames; } WFSClient(URL capabilitiesURL, HTTPClient httpClient, WFSConfig config);  WFSClient(URL capabilitiesURL, HTTPClient httpClient, WFSConfig config,
            WFSGetCapabilities capabilities); @Override WFSGetCapabilities getCapabilities(); @Override WFSServiceInfo getInfo(); Set<QName> getRemoteTypeNames(); boolean supportsTransaction(QName typeName); boolean canLimit(); boolean canFilter(); boolean canRetype(); boolean canSort(); boolean supportsStoredQueries(); ReferencedEnvelope getBounds(QName typeName, CoordinateReferenceSystem targetCrs); boolean canCount(); GetFeatureRequest createGetFeatureRequest(); @Override GetCapabilitiesResponse issueRequest(GetCapabilitiesRequest request); ListStoredQueriesResponse issueRequest(ListStoredQueriesRequest request); DescribeStoredQueriesResponse issueRequest(DescribeStoredQueriesRequest request); TransactionRequest createTransaction(); TransactionResponse issueTransaction(TransactionRequest request); GetFeatureResponse issueRequest(GetFeatureRequest request); DescribeFeatureTypeRequest createDescribeFeatureTypeRequest(); ListStoredQueriesRequest createListStoredQueriesRequest(); DescribeStoredQueriesRequest createDescribeStoredQueriesRequest(); DescribeFeatureTypeResponse issueRequest(DescribeFeatureTypeRequest request); Filter[] splitFilters(QName typeName, Filter filter); CoordinateReferenceSystem getDefaultCRS(QName typeName); String getAxisOrderFilter();  }
@Test public void testGetRemoteTypeNames() throws Exception { testGetRemoteTypeNames("PCIGeoMatics_unknown/1.0.0/GetCapabilities.xml", 5); testGetRemoteTypeNames("MapServer_5.6.5/1.0.0/GetCapabilities.xml", 2); testGetRemoteTypeNames("Ionic_unknown/1.0.0/GetCapabilities.xml", 7); testGetRemoteTypeNames("Galdos_unknown/1.0.0/GetCapabilities.xml", 48); testGetRemoteTypeNames("CubeWerx_4.12.6/1.0.0/GetCapabilities.xml", 15); testGetRemoteTypeNames("GeoServer_1.7.x/1.1.0/GetCapabilities.xml", 3); testGetRemoteTypeNames("CubeWerx_4.12.6/1.1.0/GetCapabilities.xml", 15); testGetRemoteTypeNames("CubeWerx_4.7.5/1.1.0/GetCapabilities.xml", 1); testGetRemoteTypeNames("CubeWerx_5.6.3/1.1.0/GetCapabilities.xml", 5); testGetRemoteTypeNames("Deegree_unknown/1.1.0/GetCapabilities.xml", 15); testGetRemoteTypeNames("Ionic_unknown/1.1.0/GetCapabilities.xml", 1); testGetRemoteTypeNames("MapServer_5.6.5/1.1.0/GetCapabilities.xml", 2); testGetRemoteTypeNames("CubeWerx_nsdi/1.1.0/GetCapabilities.xml", 14); }