Hi List,
I’m having an issue with cascading a WMS. I’m cascading from one of my test servers to another - both GeoServer 2.5.1, and both have the INSPIRE extension (what I suspect is causing the issue).
The GetCapabilities looks like:
http://maps.warwickshire.gov.uk/gs/ows?service=wms&version=1.3.0&request=GetCapabilities
The problem is, when I try and create a new store, when I press “Save”, after some waiting I get this error:
Connection test failed: Error downloading location: http://inspire.ec.europa.eu/schemas/common/1.0/common.xsd
So it seems that GeoServer is trying to download the XSD. There are several issues here for me:
-
It assumes that the GeoServer has internet access (it doesn’t - even our public systems don’t have the ability to open connections - only respond).
-
GeoServer will already have that file if it’s important.
So this raises questions:
a) Does GeoServer actually need to download those files to function?
b) If so, can it not check to see if it doesn’t have a copy already?
Thoughts?
I’m hopeful that it turns out it’s not necessary and that the check can be made optional.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
Hi Jonathan.
Last year I wrote a patch for gt-xml to use cached version of xsd files, if available. That was exactly created to speedup wms cascading of inspire enabled layers.
To make Geotools/Geoserver use a local copy, you should copy them in a location on the classpath (WEB-INF/classes for example) using a folder structure resembling the namespace of the xsd.
In this case should be: eu/europa/ec/inspire/schemas/common/1.0/common.xsd
Mauro
···
2014-06-20 14:01 GMT+02:00 Jonathan Moules <jonathanmoules@anonymised.com>:
Hi List,
I’m having an issue with cascading a WMS. I’m cascading from one of my test servers to another - both GeoServer 2.5.1, and both have the INSPIRE extension (what I suspect is causing the issue).
The GetCapabilities looks like:
http://maps.warwickshire.gov.uk/gs/ows?service=wms&version=1.3.0&request=GetCapabilities
The problem is, when I try and create a new store, when I press “Save”, after some waiting I get this error:
Connection test failed: Error downloading location: http://inspire.ec.europa.eu/schemas/common/1.0/common.xsd
So it seems that GeoServer is trying to download the XSD. There are several issues here for me:
-
It assumes that the GeoServer has internet access (it doesn’t - even our public systems don’t have the ability to open connections - only respond).
-
GeoServer will already have that file if it’s important.
So this raises questions:
a) Does GeoServer actually need to download those files to function?
b) If so, can it not check to see if it doesn’t have a copy already?
Thoughts?
I’m hopeful that it turns out it’s not necessary and that the check can be made optional.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users