[GeoNetwork-devel] CSW getRecords KVP Request Fail

Hi, I´m trying to use geonetwork as a CSW service making url requests. With this getRecords request:
http://server:8080/geonetwork/srv/en/csw?request=GetRecords&version=2.0.1&outputFormat=application/xml&namespace=csw:http://www.opengis.org/csw&ResponseHandler=%22mailto:pvretano@anonymised.com%22&typeName=csw:record&constraintlanguage=CQL_TEXT&Constraint=%22csw:AnyText%20Like%20’%polution%'%22&resultType=results
I obtain this exception:
<ows:ExceptionReport version=“1.0.0”>
<ows:Exception exceptionCode=“MissingParameterValue” locator=“version”/>
</ows:ExceptionReport>
And the version parameter is included in the request…
Any ideas?
I´ve seen that there is a constraint version parameter…is it true?
Thanks.

(attachments)

C:Documents and SettingsfranarrebolaMisdocumentosfirma fap.gif

···


Hi,

You could try to add this parameter &constraint_language_version=1.1.0
Please also check your CSW version, if you are using geonetwork 2.2, CSW version is 2.0.2.

HTH,

Mathieu

On Fri, Dec 5, 2008 at 12:55 PM, Francisco Arrebola <franarrebola@anonymised.com> wrote:

Hi, I´m trying to use geonetwork as a CSW service making url requests. With this getRecords request:
http://server:8080/geonetwork/srv/en/csw?request=GetRecords&version=2.0.1&outputFormat=application/xml&namespace=csw:http://www.opengis.org/csw&ResponseHandler=%22mailto:pvretano@…166…%22&typeName=csw:record&constraintlanguage=CQL_TEXT&Constraint=%22csw:AnyText%20Like%20’%polution%'%22&resultType=results
I obtain this exception:
<ows:ExceptionReport version=“1.0.0”>
<ows:Exception exceptionCode=“MissingParameterValue” locator=“version”/>
</ows:ExceptionReport>
And the version parameter is included in the request…
Any ideas?
I´ve seen that there is a constraint version parameter…is it true?
Thanks.



SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


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


Mathieu Coudert
mcoudert@anonymised.com

I change this and now I obtain this error:
<ows:ExceptionReport version=“1.0.0”>
<ows:Exception exceptionCode=“NoApplicableCode”>
ows:ExceptionText
Error during Filter to Lucene conversion : java.lang.IllegalStateException: Root element not set
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Mathieu Coudert escribió:

(attachments)

C:Documents and SettingsfranarrebolaMisdocumentosfirma fap.gif

···