I see you're trying to use ISO metadata in the request, however the CSW ISO
module fell un-maintained and it's no longer part of the CSW extension.
I'm not sure
It can still be used, but you have to grab the module from the nightly
builds:

https://build.geoserver.org/geoserver/2.18.x/community-latest/geoserver-2.18-SNAPSHOT-csw-iso-plugin.zip

I have no idea if it's still working though.

Cheers
Andrea

On Thu, Jul 22, 2021 at 9:26 PM Wal, Jan Tjalling van der <
jan_tjalling.vander...@wur.nl> wrote:

> Dear all,
>
>
>
> We have added the CSW-module and the Inspire-metadata to GeoServer
> (2.18.4) as per the instructions here
> <https://docs.geoserver.org/latest/en/user/tutorials/metadata/index.html>.
>
>
> However despite trying various options when editing the metadata (on the
> available tab), a GetRecord-request does not receive a valid answer.
>
>
>
> GetCapabilities does give a correct answer.
>
>
>
> This query:
>
>
> https://opengeodata.wmr.wur.nl/geoserver/csw?service=CSW&version=2.0.2&request=GetRecords&typeNames=gmd:MD_Metadata&resultType=results&elementSetName=full&outputSchema=http://www.isotc211.org/2005/gmd
>
>
>
> Yields this result:
>
> <ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema
> " xmlns:ows="http://www.opengis.net/ows"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance
> " version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows
> https://opengeodata.wmr.wur.nl/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd
> ">
>
> <ows:Exception exceptionCode="NoApplicableCode">
>
> <ows:ExceptionText>javax.xml.transform.TransformerException: Translator
> error Translator error Failed to encoder records Problem with features2
> visiting feature:java.lang.IllegalArgumentException: Error mapping resource
> BV_Telgebieden: Failed mapping property
> 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href':
> Cannot find descriptor for attribute @href in type
> http://www.isotc211.org/2005/gmx:Anchor_Type Error mapping resource
> BV_Telgebieden: Failed mapping property
> 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href':
> Cannot find descriptor for attribute @href in type
> http://www.isotc211.org/2005/gmx:Anchor_Type Failed mapping property
> 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href':
> Cannot find descriptor for attribute @href in type
> http://www.isotc211.org/2005/gmx:Anchor_Type Cannot find descriptor for
> attribute @href in type http://www.isotc211.org/2005/gmx:Anchor_Type
> </ows:ExceptionText>
>
> </ows:Exception>
>
> </ows:ExceptionReport>
>
>
>
> What are we missing?
>
>
>
> Suggestions on what to check or modify are greatly appreciated,
>
> *Jan Tjalling van der Wal*
>
> Wageningen Marine Research (IMARES) Institute for Marine Resources
> & Ecosystem Studies
>
> Ankerpark 27, 1781 AG Den Helder
>
> Postbus 57, 1780 AB Den Helder
>
> Tel. +31 (0)317-4 87147 #
>
> GSM +31(0)626120915 (privé) #
>
> # Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00
>
> jan_tjalling.vander...@wur.nl
>
> [image: WUR_RGB_standard]
>
> www.wur.nl/marine-research (NL) / www.wur.eu/marine-research (ENG)
>
> www.disclaimer-nl.wur.nl / www.disclaimer-uk.wur.nl
>
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to