Yes. But I keep the same problem.
Thanks a lot for your help.
Gregory
De : Jesse Eichar [mailto:jesse.eichar@…189…]
Envoyé : mardi 28 octobre 2014 10:19
À : PAIN Gregory
Cc : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] GestRecordById request
It depends on the geonetwork version but it might be:
/geonetwork/srv/eng/admin.console#/settings/csw-test
or
/geonetwork/srv/eng/test.csw
Jesse
On Tue, Oct 28, 2014 at 10:14 AM, PAIN Gregory <gregory.pain@…1022…> wrote:
Which csw.test page are you thinking of? I tried both URIs in my browser to verify the xml responses. The responses are unfortunately different.
Grégory
De : Jesse Eichar [mailto:jesse.eichar@…189…]
Envoyé : mardi 28 octobre 2014 09:57
À : PAIN Gregory
Cc : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] GestRecordById request
I would have expected you to get the full metadata. Although CSW is a bit of a pain so perhaps there is something there that I am not seeing. Have you tried the csw.test page to make requests as well?
Jesse
On Mon, Oct 27, 2014 at 10:43 AM, PAIN Gregory <gregory.pain@…1022…> wrote:
Hello !
I used the GeoNetwork CSW server.
I wanted to get metadata specified by its ID. So I decided to use a “GetRecordById” request. (http://localhost:8080/geonetwork/srv/eng/csw-test?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ElementSetName=full&ID=c7d376d1-73da-446d-a74f-40aba0afecb1)
The xml response I receive doesn’t contain all the information despite the “ElementSetname” attribute is set to “full”.
I should use a “GetRecords” request. (http://localhost:8080/geonetwork/srv/eng/csw-test?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecords&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&outputFormat=application/xml&maxRecords=1&typeName=csw:Record&ElementSetName=full&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&THEMEKEY=&resultType=results&constraint=AnyText+like+%27c7d376d1-73da-446d-a74f-40aba0afecb1%27)
Is it normal ?
Best regards,
Grégory Pain
+33 (0) 1 41 30 47 11
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork