Hi! I'm using the HTTPCaller to get records from CSW.
I'm using POST as HTTP Method and posting:
Request URL: https://www.geonorge.no/geonetwork/srv/nor/csw-dataset
<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2"
resultType="results" outputSchema="csw:IsoRecord" startPosition="1" maxRecords="1000"><csw:Query typeNames="gmd:MD_Metadata"><!--
<csw:ElementSetName>brief</csw:ElementSetName><csw:ElementSetName>summary</csw:ElementSetName><csw:ElementSetName>full</csw:ElementSetName>
--><csw:Constraint version="1.1.0"><Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"/></csw:Constraint></csw:Query>
</csw:GetRecords>
The thing is that I want maxRecords to be 10000 to get all records. Max records in the database is between 7000-8000 but I want to build this for expansion.
When I'm setting maxRecords to over 2000 records, the translation fails. Is this due to connection timeout? How can I solve this?
As I see, it can be solved with one of these:
- Editing parameters in FME to get all records
- Using a loop to change start position and maxRecords