Hi,
GroundWaterML2 services that were running in August are now giving errors.
In this error the response suggests that gwml2wc:bholeDateOfDrilling is not a 
valid path, but then it is listed as one of the valid paths:

java.lang.RuntimeException: Error applying mapping with targetAttribute 
gwml2wc:bholeDateOfDrilling
gwml2wc:bholeDateOfDrilling is not a valid location path for type 
http://www.opengis.net/gwml-wellconstruction/2.1:BoreholeType.
gwml2wc:bholeDateOfDrilling ns: 
http://www.opengis.net/gwml-wellconstruction/2.1,
BoreholeType properties:
... <snip>
http://www.opengis.net/gwml-wellconstruction/2.1#bholeCoreInterval,
http://www.opengis.net/gwml-wellconstruction/2.1#bHoleDateOfDrilling,
http://www.opengis.net/gwml-wellconstruction/2.1#bholeDriller,
... <snip>

The datatype in the PostGres database is "date".

The Attribute mapping in the configuration file is:
<AttributeMapping>
            <targetAttribute>gwml2wc:bholeDateOfDrilling</targetAttribute>
            <sourceExpression>
                        <OCQL>bholedateofdrilling</OCQL>
            </sourceExpression>
</AttributeMapping>

Removing this from the configuration file returns a WFS response without errors.
This GeoServer instance is running version 2.6.2

Cheers
Bruce Simons
Information Modeller
CSIRO Land and Water/ Environmental Information Infrastructures
E: [email protected]<mailto:[email protected]> T: +61 3 9252 6514 M: 
+61 475 954 391
PO Box 56, Highett, Victoria, 3190

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to