We have a legacy Luciad WFS server I'd like to eventually replace with
GeoServer. I added the Luciad WFS as a new data source to GeoServer. When I
go to add a layer, I can see the resources from that external WFS listed.
When I go to publish a layer though, I always get an error. For example,
publishing resource ns0_ARTCC gives me:
Caused by: org.geotools.data.DataSourceException: No XSDElementDeclaration
found for {ncr/gml}ARTCC at
org.geotools.data.wfs.v1_1_0.parsers.EmfAppSchemaParser.parseFeatureType(EmfAppSchemaParser.java:296)
Any ideas ? I'm not sure the Luciad server is generating correct schema
names, etc, but I'm not sure what to look at next.
I also see this in the server console, if this helps:
27 Jun 13:48:13 WARN [data.wfs] - can't decode CRS EPSG:CRS84 for ns0:ARTCC.
Assigning DefaultEngineeringCRS.GENERIC_2D:
LOCAL_CS["Generic cartesian 2D",
LOCAL_DATUM["Unknown", 0],
UNIT["m", 1.0],
AXIS["x", EAST],
AXIS["y", NORTH]]
27 Jun 13:48:13 INFO [feature.retype] - Failure to remap feature type
ns0:ARTCC. The type will be ignored
Almost there. I recreated the External WFS store in another workspace and I
can add the layer now. GetFeature reqests fail though, and it looks like the
external server doesn't like the PropertyName elements in the forwarded
request:
</wfs:GetFeature> [[ Invalid property name: Invalid property name in
GetFeature request: centerID ]] [[ Invalid property name in GetFeature
request: state ]] [[ Invalid property name in GetFeature request: startTime
]] [[ Invalid property name in GetFeature request: endTime ]] [[ Invalid
property name in GetFeature request: minAltitude ]] [[ Invalid property name
in GetFeature request: maxAltitude ]]
Is there a way to tell GeoServer to not include PropertyName parameters to
the external WFS ?