[Gvsig_english] WMS "EXCEPTIONS=XML" parameter

Tony Daly Tony.daly at mouchel.com
Thu Aug 27 14:30:08 CEST 2009


Jorge,

I've been trying out gvSIG 1_9. I still have the same problem pulling data from our WMS server. Did you ever find out whether there is a bug?

Tony 

-----Original Message-----
From: gvsig_internacional-bounces en listserv.gva.es [mailto:gvsig_internacional-bounces en listserv.gva.es] On Behalf Of Jorge Piera
Sent: 10 July 2009 14:00
To: Users and Developers mailing list
Subject: Re: [Gvsig_english] WMS "EXCEPTIONS=XML" parameter

Hello.

It is possible. I will check it on the specification and if it is true, I will fix this bug for next releases.

Thank you for your interest.

Regards,
Jorge.

Tony Daly wrote:
> Jorge,
>
> The WMS provider is using version 1.1.1. 
>
> Evidently the OGC have changed the exceptions part of the spec between 1.1.1 and 1.3.0.  
>                         ...
> It looks like they changed the default value from "application/vnd.ogc.se_xml" to "XML".  
>
> The actual request coming in from gvSIG explicitly specifies version 1.1.1 and "EXCEPTIONS=XML".  As the service only advertises "application/vnd.ogc.se_xml"  in its metadata, the request is not legal.
>
> Regards
>
> Tony
>
> -----Original Message-----
> From: gvsig_internacional-bounces en listserv.gva.es 
> [mailto:gvsig_internacional-bounces en listserv.gva.es] On Behalf Of 
> Jorge Piera
> Sent: 10 July 2009 11:11
> To: Users and Developers mailing list
> Subject: Re: [Gvsig_english] WMS "EXCEPTIONS=XML" parameter
>
> Hello Tony.
>
> Im reading the Web Map Server Implementation Specification v1.3. Page 37:
> ----------------------------------------------------------------------
> --------------------------------------------------------------
> 7.3.3.11 EXCEPTIONS
>
> The optional EXCEPTIONS parameter is defined in 6.9.4. The default value is "XML" if this parameter is absent from the request.
>
> A WMS shall offer one or more of the following exception reporting formats by listing them in separate <Format> elements inside the <Exceptions> element of its service metadata. The first of these formats must be offered by every WMS; the others are optional.
>
> XML (mandatory)
>
> Errors are reported using service exception XML, as specified in E.2. 
> This is the default exception format if none is specified in the request.
>
> The remaining exception formats are optional. A server may issue a service exception in the default XML format if a request specifies a different exception format not supported by the server.
> ----------------------------------------------------------------------
> --------------------------------------------------------------
> I think that it is possible to use this parameter.
>
> Regards,
> Jorge.
>
> Tony Daly wrote:
>   
>> Dear members,
>> I'm having problems pulling layers from a WMS. The WMS provider has 
>> found that:
>> "gvSIG adds the 'EXCEPTIONS=XML' parameter onto the WMS request query 
>> string. The server is rejecting the request because the value "XML" 
>> is not a valid value for the EXCEPTIONS parameter as defined by the 
>> OGC spec and the capabilities document for the request".
>> Can anyone help with this? Thanks in advance.
>>
>> Tony Daly
>>
>> T rowbridge
>>
>> E ngland
>>
>>
>>
>>
>> The information in this e-mail is confidential and may be legally 
>> privileged. It is intended solely for the addressee. Access to this 
>> email by anyone else is unauthorised. Any views or opinions expressed 
>> in this e-mail may be solely those of the author and are not 
>> necessarily those of Mouchel. Mouchel Limited, Registered in England 
>> at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX Registered 
>> No : 1686040
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional en listserv.gva.es
>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>   
>>     
>
>
> --
> Jorge Piera Llodrá
> Especialista en Servicios OGC
> Equipo de desarrollo gvSIG
> IVER TI S.A.
> C/ Lérida, 20
> 46009-Valencia (Spain)
> Tlf.+34902252540
> www.iver.es
> www.gvsig.com
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional en listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional en listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>
>   


--
Jorge Piera Llodrá
Especialista en Servicios OGC
Equipo de desarrollo gvSIG
IVER TI S.A.
C/ Lérida, 20
46009-Valencia (Spain)
Tlf.+34902252540
www.iver.es
www.gvsig.com  

_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional en listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional


More information about the Gvsig_internacional mailing list