[GeoNetwork-users] CSW - How to use GetRecords

Hi all
I just installed GN 2.2 Final, before I was using the RCs.
I can't get the CSW working: GetCapabilities is Ok, but GetRecords returns
errors. I don't know there's a problem or I'm not able to use it :slight_smile:

I did the test with CSW test client, and that's the result with the
query "AnyText like %africa%" :

========================================================0
Exception : org.fao.geonet.csw.common.exceptions.InvalidParameterValueEx:
code=InvalidParameterValue, locator=CqlText, message=AnyText like %africa%

GET /geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.1&namespace=csw%3Ahttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw&constraint=AnyText+like+%25africa%25&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:8080
Cookie: JSESSIONID=CFB7BA17E13EF83A069DECE58B009D42

==============================================================
OK

Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: -1
Content-Type: application/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 04 Apr 2008 08:02:43 GMT

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows&quot; version="1.0.0">
  <ows:Exception exceptionCode="InvalidParameterValue" locator="CqlText">
    <ows:ExceptionText>AnyText like %africa%</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

How can I user GetRecords? I want simply get all the records from the catalog.

Regards
Marco Vimercati