[GeoNetwork-users] CSW harvesting incompatible with deegree CSW 2.0.2 service?

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and encounter the bfollowing error when trying to harvest CSW records from a deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class : BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML response
BadXmlResponseEx : Bad XML response
        at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
        at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
        at org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
        at org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
        at org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
        at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
        at org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

The "Service URL" field on the Harvesting Management page requires a path to the CSW GetCapabilities response not to the service root.

Using WireShark, I found out that GN's requests does not specify an output format or schema - parameters required by deegree's CSW server.

The following CSW request works with deegree but I still don't know what responses GN requires.
How do I go about modifying the GN CSW requests?

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
    xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
    service="CSW"
    version="2.0.2"
    resultType="results"
    startPosition="1"
    maxRecords="10"
    outputFormat="application/xml"
    outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; >
  <csw:Query typeNames="gmd:MD_Metadata">
    <csw:ElementSetName>summary</csw:ElementSetName>
  </csw:Query>
</csw:GetRecords>

Ciao, WG

Wolfgang Grunberg wrote:

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and encounter the bfollowing error when trying to harvest CSW records from a deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class : BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML response
BadXmlResponseEx : Bad XML response
        at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
        at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
        at org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
        at org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
        at org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
        at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
        at org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

Hello Wolfgang,

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:

The "Service URL" field on the Harvesting Management page requires a
path to the CSW GetCapabilities response not to the service root.

Yes. See chapter 10.7 of the documentation "Adding a CSW node"

Using WireShark, I found out that GN's requests does not specify an
output format or schema - parameters required by deegree's CSW server.

You could have a look to jetty/log/geonetwork.log for more debug info.
GeoNetwork harvester ask for a summary response first and then use the
GetRecordById response.
Then it will try to get the metadata in csw dublin core based format
or ISO if available.

Is your deegree server url public ? could you provide the URL ?
I've been testing with
http://demo.deegree.org:8080/deegree-csw/services?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetCapabilities
but this is a 2.0.0 version. GeoNetwort support 2.0.2 mainly (could
work on some 2.0.1 like previous GeoNetwork nodes).

Ciao.

Francois

The following CSW request works with deegree but I still don't know what
responses GN requires.
How do I go about modifying the GN CSW requests?

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW"
version="2.0.2"
resultType="results"
startPosition="1"
maxRecords="10"
outputFormat="application/xml"
outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; >
<csw:Query typeNames="gmd:MD_Metadata">
<csw:ElementSetName>summary</csw:ElementSetName>
</csw:Query>
</csw:GetRecords>

Ciao, WG

Wolfgang Grunberg wrote:

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and
encounter the bfollowing error when trying to harvest CSW records from a
deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while
harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class :
BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML
response
BadXmlResponseEx : Bad XML response
at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
at
org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois,

Thanks for the help!

Deegree's CSW 2.0.2 implementation appears to be too strict and I have notified them (they may have already fixed it in SVN). According to OGC's docs ,outputFormat and outputSchema are optional parameters with default values.

Our test CSW server is at http://75.101.143.247:8080/deegree-csw/services?REQUEST=GetCapabilities&version=2.0.2&service=CSW
Please, notify me if you break it :wink:

We are also exploring stand-alone CSW client options:
http://75.101.143.247:8080/catalogConnector/ (by http://sourceforge.net/projects/catalogconnecto/)
http://lab.usgin.org/content/us-gin-csw-simple-client (by http://gdsc.nlr.nl/gdsc/tools/excat)

Ciao, Wolfgang

Francois Prunayre wrote:

Hello Wolfgang,

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:
  

The "Service URL" field on the Harvesting Management page requires a
path to the CSW GetCapabilities response not to the service root.
    

Yes. See chapter 10.7 of the documentation "Adding a CSW node"

Using WireShark, I found out that GN's requests does not specify an
output format or schema - parameters required by deegree's CSW server.
    

You could have a look to jetty/log/geonetwork.log for more debug info.
GeoNetwork harvester ask for a summary response first and then use the
GetRecordById response.
Then it will try to get the metadata in csw dublin core based format
or ISO if available.

Is your deegree server url public ? could you provide the URL ?
I've been testing with
http://demo.deegree.org:8080/deegree-csw/services?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetCapabilities
but this is a 2.0.0 version. GeoNetwort support 2.0.2 mainly (could
work on some 2.0.1 like previous GeoNetwork nodes).

Ciao.

Francois

The following CSW request works with deegree but I still don't know what
responses GN requires.
How do I go about modifying the GN CSW requests?

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
   xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
   service="CSW"
   version="2.0.2"
   resultType="results"
   startPosition="1"
   maxRecords="10"
   outputFormat="application/xml"
   outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; >
<csw:Query typeNames="gmd:MD_Metadata">
   <csw:ElementSetName>summary</csw:ElementSetName>
</csw:Query>
</csw:GetRecords>

Ciao, WG

Wolfgang Grunberg wrote:
    

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and
encounter the bfollowing error when trying to harvest CSW records from a
deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while
harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class :
BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML
response
BadXmlResponseEx : Bad XML response
        at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
        at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
        at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
        at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
        at
org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
        at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
        at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

Thanks for the URL Wolfgang.

First I got
<ows:Exception exceptionCode="InvalidParameterValue" locator="unknown+location">
Unsupported output schema 'CSW:RECORD' requested. Supported schemas
are: HTTP://WWW.OPENGIS.NET/CAT/CSW/2.0.2,
HTTP://WWW.ISOTC211.ORG/2005/GMD, DUBLINCORE.
</ows:Exception>
due to a missing outputSchema parameter. This one is optional as you
mentionned, so I would prefer to keep use the default one. GeoNetwork
is taking care of looking for DC or ISO uuid in GetRecords operation.

If I add a workaround for first point, then I get this exception.
<ows:Exception locator="unknown+location">
Cannot generate object representation for GetFeature request:
PropertyPath must contain at least one step.
</ows:Exception>
with this filter
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" version="2.0.2" resultType="results"
outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; startPosition="1"
maxRecords="20">
  <csw:Query typeNames="csw:Record">
    <csw:ElementSetName>summary</csw:ElementSetName>
    <csw:Constraint version="1.1.0">
      <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>csw:AnyText</ogc:PropertyName>
          <ogc:Literal>utah</ogc:Literal>
        </ogc:PropertyIsEqualTo>
      </ogc:Filter>
    </csw:Constraint>
  </csw:Query>
</csw:GetRecords>
I don't really know why the exception talk about GetFeature operation.
Any ideas ? something wrong with csw:AnyText maybe ?

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:

Hi Francois,

Thanks for the help!

Deegree's CSW 2.0.2 implementation appears to be too strict and I have
notified them (they may have already fixed it in SVN). According to OGC's
docs ,outputFormat and outputSchema are optional parameters with default
values.

Our test CSW server is at
http://75.101.143.247:8080/deegree-csw/services?REQUEST=GetCapabilities&version=2.0.2&service=CSW
Please, notify me if you break it :wink:

Maybe I did ! oups. HTTP/1.1 500 Internal Server Error ... sorry

Francois

We are also exploring stand-alone CSW client options:
http://75.101.143.247:8080/catalogConnector/ (by
http://sourceforge.net/projects/catalogconnecto/)
http://lab.usgin.org/content/us-gin-csw-simple-client (by
http://gdsc.nlr.nl/gdsc/tools/excat)

Ciao, Wolfgang

Francois Prunayre wrote:

Hello Wolfgang,

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:

The "Service URL" field on the Harvesting Management page requires a
path to the CSW GetCapabilities response not to the service root.

Yes. See chapter 10.7 of the documentation "Adding a CSW node"

Using WireShark, I found out that GN's requests does not specify an
output format or schema - parameters required by deegree's CSW server.

You could have a look to jetty/log/geonetwork.log for more debug info.
GeoNetwork harvester ask for a summary response first and then use the
GetRecordById response.
Then it will try to get the metadata in csw dublin core based format
or ISO if available.

Is your deegree server url public ? could you provide the URL ?
I've been testing with
http://demo.deegree.org:8080/deegree-csw/services?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetCapabilities
but this is a 2.0.0 version. GeoNetwort support 2.0.2 mainly (could
work on some 2.0.1 like previous GeoNetwork nodes).

Ciao.

Francois

The following CSW request works with deegree but I still don't know what
responses GN requires.
How do I go about modifying the GN CSW requests?

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW"
version="2.0.2"
resultType="results"
startPosition="1"
maxRecords="10"
outputFormat="application/xml"
outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; >
<csw:Query typeNames="gmd:MD_Metadata">
<csw:ElementSetName>summary</csw:ElementSetName>
</csw:Query>
</csw:GetRecords>

Ciao, WG

Wolfgang Grunberg wrote:

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and
encounter the bfollowing error when trying to harvest CSW records from a
deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while
harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class :
BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML
response
BadXmlResponseEx : Bad XML response
at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
at
org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

Interesting ...
You can use our deegree csw test client at http://75.101.143.247:8080/deegree-csw/client/client.html
Note that we have about 4000 records loaded (no deegree samples) and it will be slow.

So far, I have only used the following AnyText filter which uses <ogc:PropertyIsLike> instead of <ogc:PropertyIsEqualTo>
I have not seen a PropertyIsEqualTo filter with an csw:AnyText PropertyName before.

Ciao, WG

*** csw:title works ...

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
    xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
    service="CSW"
    version="2.0.2"
    resultType="results"
    outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot;
    startPosition="1"
    maxRecords="20">
  <csw:Query typeNames="csw:Record">
    <csw:ElementSetName>summary</csw:ElementSetName>
    <csw:Constraint version="1.1.0">
      <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>csw:title</ogc:PropertyName>
          <ogc:Literal>Scanned Borehole Compensated Sonic Log for 0438, Gulf Oil1-04 Navajo</ogc:Literal>
        </ogc:PropertyIsEqualTo>
      </ogc:Filter>
    </csw:Constraint>
  </csw:Query>
</csw:GetRecords>

*** ogc:PropertyIsLike example:

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
    service="CSW"
    version="2.0.2"
    outputFormat="application/xml"
    outputSchema="DublinCore"
    resultType="RESULTS"
    xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
    xmlns:ogc="http://www.opengis.net/ogc&quot;
    xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0&quot;&gt;
    <csw:Query typeNames="csw:Record">
        <csw:ElementSetName>full</csw:ElementSetName>
        <csw:Constraint version="1.1.0">
            <ogc:Filter>
                <ogc:PropertyIsLike wildCard="%" singleChar="_" escape="/">
                    <ogc:PropertyName>apiso:anyText</ogc:PropertyName>
                    <ogc:Literal>%WMS%</ogc:Literal>
                </ogc:PropertyIsLike>
            </ogc:Filter>
        </csw:Constraint>
    </csw:Query>
</csw:GetRecords>

Francois Prunayre wrote:

Thanks for the URL Wolfgang.

First I got
<ows:Exception exceptionCode="InvalidParameterValue" locator="unknown+location">
Unsupported output schema 'CSW:RECORD' requested. Supported schemas
are: HTTP://WWW.OPENGIS.NET/CAT/CSW/2.0.2,
HTTP://WWW.ISOTC211.ORG/2005/GMD, DUBLINCORE.
</ows:Exception>
due to a missing outputSchema parameter. This one is optional as you
mentionned, so I would prefer to keep use the default one. GeoNetwork
is taking care of looking for DC or ISO uuid in GetRecords operation.

If I add a workaround for first point, then I get this exception.
<ows:Exception locator="unknown+location">
Cannot generate object representation for GetFeature request:
PropertyPath must contain at least one step.
</ows:Exception>
with this filter
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" version="2.0.2" resultType="results"
outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; startPosition="1"
maxRecords="20">
  <csw:Query typeNames="csw:Record">
    <csw:ElementSetName>summary</csw:ElementSetName>
    <csw:Constraint version="1.1.0">
      <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>csw:AnyText</ogc:PropertyName>
          <ogc:Literal>utah</ogc:Literal>
        </ogc:PropertyIsEqualTo>
      </ogc:Filter>
    </csw:Constraint>
  </csw:Query>
</csw:GetRecords>
I don't really know why the exception talk about GetFeature operation.
Any ideas ? something wrong with csw:AnyText maybe ?

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:
  

Hi Francois,

Thanks for the help!

Deegree's CSW 2.0.2 implementation appears to be too strict and I have
notified them (they may have already fixed it in SVN). According to OGC's
docs ,outputFormat and outputSchema are optional parameters with default
values.

Our test CSW server is at
http://75.101.143.247:8080/deegree-csw/services?REQUEST=GetCapabilities&version=2.0.2&service=CSW
Please, notify me if you break it :wink:
    

Maybe I did ! oups. HTTP/1.1 500 Internal Server Error ... sorry

Francois

We are also exploring stand-alone CSW client options:
http://75.101.143.247:8080/catalogConnector/ (by
http://sourceforge.net/projects/catalogconnecto/)
http://lab.usgin.org/content/us-gin-csw-simple-client (by
http://gdsc.nlr.nl/gdsc/tools/excat)

Ciao, Wolfgang

Francois Prunayre wrote:

Hello Wolfgang,

2009/7/6 Wolfgang Grunberg <wgrunberg@anonymised.com>:

The "Service URL" field on the Harvesting Management page requires a
path to the CSW GetCapabilities response not to the service root.

Yes. See chapter 10.7 of the documentation "Adding a CSW node"

Using WireShark, I found out that GN's requests does not specify an
output format or schema - parameters required by deegree's CSW server.

You could have a look to jetty/log/geonetwork.log for more debug info.
GeoNetwork harvester ask for a summary response first and then use the
GetRecordById response.
Then it will try to get the metadata in csw dublin core based format
or ISO if available.

Is your deegree server url public ? could you provide the URL ?
I've been testing with
http://demo.deegree.org:8080/deegree-csw/services?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetCapabilities
but this is a 2.0.0 version. GeoNetwort support 2.0.2 mainly (could
work on some 2.0.1 like previous GeoNetwork nodes).

Ciao.

Francois

The following CSW request works with deegree but I still don't know what
responses GN requires.
How do I go about modifying the GN CSW requests?

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords
   xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
   service="CSW"
   version="2.0.2"
   resultType="results"
   startPosition="1"
   maxRecords="10"
   outputFormat="application/xml"
   outputSchema="http://www.opengis.net/cat/csw/2.0.2&quot; >
<csw:Query typeNames="gmd:MD_Metadata">
   <csw:ElementSetName>summary</csw:ElementSetName>
</csw:Query>
</csw:GetRecords>

Ciao, WG

Wolfgang Grunberg wrote:

I am using GeoNetwork 2.4.0 RC0 (RC1's deploy fails on WinXP) and
encounter the bfollowing error when trying to harvest CSW records from a
deegree CSW 2.0.2 server (http://www.deegree.org/).

Is there an example of the expected response.
How can I see GN's XML requests?

933472 [Thread-67] WARN geonetwork.harvester - Raised exception while
harvesting from : AZGS - deegree test server (CswHarvester)
933472 [Thread-67] WARN geonetwork.harvester - (C) Class :
BadXmlResponseEx
933472 [Thread-67] WARN geonetwork.harvester - (C) Message : Bad XML
response
BadXmlResponseEx : Bad XML response
        at jeeves.utils.XmlRequest.doExecute(XmlRequest.java:329)
        at jeeves.utils.XmlRequest.execute(XmlRequest.java:240)
        at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.retrieveCapabilities(Harvester.java:122)
        at
org.fao.geonet.kernel.harvest.harvester.csw.Harvester.harvest(Harvester.java:82)
        at
org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester.doHarvest(CswHarvester.java:211)
        at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:333)
        at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)

Ciao, Wolfgang

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500