[GeoNetwork-devel] WMS Harvest of ESRI Service

Hi,

I am trying to harvest metadata from an ArcGIS 9.3 WMS service using
BluenetMEST 1.2.1.
Harvesting works fine from a similar Geoserver webservice I have, but for
some reason it fails on the ArcGIS one. I know ArcGIS server puts out
capabilities in version 1.3.0 by default but I presume the harvester asks
for the correct version in its getcapabilites request? I can successfully
get a capabilities xml from this service in my browser.

Geonetwork log provides this:

2010-05-24 14:19:23,104 INFO [jeeves.request] -

2010-05-24 14:19:23,104 INFO [jeeves.request] - HTML Request (from
144.66.23.106) : /geonetwork/srv/en/xml.harvesting.run
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Method : POST
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Content type :
application/xml
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Session id is 56hr0rfto3sb7
2010-05-24 14:19:23,104 INFO [jeeves.service] - Dispatching :
xml.harvesting.run
2010-05-24 14:19:23,104 DEBUG [jeeves.service] - -> parameters are :
<request>
  <id>552</id>
</request>
2010-05-24 14:19:23,104 DEBUG [geonetwork.harvest-man] - Running harvesting
with id : 552
2010-05-24 14:19:23,104 INFO [geonetwork.harvester] - Started harvesting
from node : devgis01 Basemap (OgcWxSHarvester)
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.run
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.run
2010-05-24 14:19:23,104 INFO [geonetwork.harvester] - Retrieving remote
metadata information for : devgis01 Basemap
2010-05-24 14:19:23,104 DEBUG [jeeves.service] - Service xml is :
<response>
  <id status="ok">552</id>
</response>
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> output ended for :
xml.harvesting.run
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.run
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - Raised exception
while harvesting from : devgis01 Basemap (OgcWxSHarvester)
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - (C) Class :
SocketException
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - (C) Message :
Unexpected end of file from server

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-Harvest-of-ESRI-Service-tp5092576p5092576.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Bill,

I only see support for WMS 1.0.0 and WMS 1.1.1 getCapabilities in GN (BlueNetMEST 1.2.1 included) when adding an OGC WxS harvester (you can choose either of these requests in the harvester setup).

This link seems to say that ArcGIS 9.3 supports WMS 1.1.1: http://www.esriuk.com/products/93_standards_interop.asp Perhaps you could get it to use 1.1.1 until 1.3.0 support is added to GN?

Cheers,
Simon

BillMN wrote:

Hi,

I am trying to harvest metadata from an ArcGIS 9.3 WMS service using
BluenetMEST 1.2.1.
Harvesting works fine from a similar Geoserver webservice I have, but for
some reason it fails on the ArcGIS one. I know ArcGIS server puts out
capabilities in version 1.3.0 by default but I presume the harvester asks
for the correct version in its getcapabilites request? I can successfully
get a capabilities xml from this service in my browser.

Geonetwork log provides this:

2010-05-24 14:19:23,104 INFO [jeeves.request] -

2010-05-24 14:19:23,104 INFO [jeeves.request] - HTML Request (from
144.66.23.106) : /geonetwork/srv/en/xml.harvesting.run
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Method : POST
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Content type :
application/xml
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-05-24 14:19:23,104 DEBUG [jeeves.request] - Session id is 56hr0rfto3sb7
2010-05-24 14:19:23,104 INFO [jeeves.service] - Dispatching :
xml.harvesting.run
2010-05-24 14:19:23,104 DEBUG [jeeves.service] - -> parameters are : <request>
  <id>552</id>
</request>
2010-05-24 14:19:23,104 DEBUG [geonetwork.harvest-man] - Running harvesting
with id : 552
2010-05-24 14:19:23,104 INFO [geonetwork.harvester] - Started harvesting
from node : devgis01 Basemap (OgcWxSHarvester)
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.run
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.run
2010-05-24 14:19:23,104 INFO [geonetwork.harvester] - Retrieving remote
metadata information for : devgis01 Basemap
2010-05-24 14:19:23,104 DEBUG [jeeves.service] - Service xml is :
<response>
  <id status="ok">552</id>
</response>
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> output ended for :
xml.harvesting.run
2010-05-24 14:19:23,104 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.run
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - Raised exception
while harvesting from : devgis01 Basemap (OgcWxSHarvester)
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - (C) Class :
SocketException
2010-05-24 14:19:23,229 WARN [geonetwork.harvester] - (C) Message :
Unexpected end of file from server

Thanks Simon.

Yes, the service definitely supports 1.1.1 get capabilities requests, but
still doesn't work.
I've kind of abandoned looking at this for now. Will post something if I
ever figure out what is going on with it.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-Harvest-of-ESRI-Service-tp5092576p5179591.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.