[Geoserver-users] External WFS - add Layer fails with execption

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.

Thanks

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/External-WFS-add-Layer-fails-with-execption-tp5062616.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/External-WFS-add-Layer-fails-with-execption-tp5062616p5062651.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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 ?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/External-WFS-add-Layer-fails-with-execption-tp5062616p5062658.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Thu, Jun 27, 2013 at 10:48 PM, brking <brking@anonymised.com> wrote:

Is there a way to tell GeoServer to not include PropertyName parameters to
the external WFS ?

None unfortunately

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------