Aside: I wonder if Ben introduced some kind of schema resolve trap for this
kind of lookup and thus we have a regression? It would be worth trying this
WMS direct from GeoTools.


Jody Garnett


On Thu, Aug 28, 2014 at 2:08 PM, Jody Garnett <[email protected]>
wrote:

>
>  In addition, if I try to create a WMS store and cascade the service as
>>> WMS 1.3.0 Geoserver is sending this request when I press the Save button
>>> service=WMS&version=1.3.0&request=GetSchemaExtension
>>>
>>
>> This is new to me, no idea what a GetSchemaExtension is. Jody should be
>> more familiar with the code,
>> I've just hammered it enough to make it work in the common cases
>>
>
> Thanks (I think) Andrea:
>
> TLDR: Near as this is working as intended by the maintainer of the WMS
> server you are connecting to
>
> A bit of research shows that GetSchemaExtension is may be included in the
> GetCapabilities document being returned by your service. So it is nothing
> the GeoTools code calls directly, instead it is needed to validate your
> GetCapabilities document during parsing.
>
> The following example is from some kind MapServer
> <http://arnulf.us/Talk:OGC_WMS>:
>
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <WMS_Capabilities version="1.3.0"
>   xmlns="http://www.opengis.net/wms";
>   xmlns:sld="http://www.opengis.net/sld";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:ms="http://mapserver.gis.umn.edu/mapserver";
>   xsi:schemaLocation=
>     "http://www.opengis.net/wms
> http://schemas.opengis.net//wms/1.3.0/capabilities_1_3_0.xsd
>      http://www.opengis.net/sld
> http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd
>      http://mapserver.gis.umn.edu/mapserver
> http://metaspatial.net/cgi-bin/ogc-wms.xml?service=WMS&version=1.3.0&request=GetSchemaExtension
> ">
>
> Although it sounds like (#4043
> <https://trac.osgeo.org/mapserver/ticket/4043>) MapServer has a request
> open to use http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd
> directly?
>
> I can also find examples of ESRI products using GetSchemaExtension.
> --
> Jody
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to