I'm using a FeatureReader to read an ArcGIS Server Map Service. The map service has a lot of layers (AKA: Feature Types) which I can choose from to read.
If I choose a feature type name which doesn't have a space then it works but if I choose one with a space then FME Desktop errors saying it can't find the feature type with the truncated feature type name at the first space.
Here is an extract from the logs below for "Fish habitat areas" as an example of it incorrectly reading "fish" as the feature type name
ArcGIS Feature Service Reader: Could not find a layer/table matching feature type 'Fish'
A fatal error has occurred. Check the logfile above for details
Storing feature(s) to FME feature store file `C:\\tempDir\\wb-cache-DownloadFishHabitats-C19216\\Main_map_service_-_FeatureReader -1 3 fo 633 _lt_REJECTED_gt_ 0 85bd7267ad00c49a5eda9b6f99fe095bbe050483.ffsupdating'
Is there a way I can get around this? (I can't remove the spaces in the feature names because it's a map service provided by an external source)
EDIT: The list of features to load is exposed as published parameter for users to select. If I run it as a stand alone reader and select only the "Fish Habitat Areas" feature inside the transformer then it works fine