[Gvsig_english] WMS "EXCEPTIONS=XML" parameter

Tony Daly Tony.daly at mouchel.com
Fri Jul 10 12:15:44 CEST 2009


Thanks Jorge,

I've done some research into this and come up with the same conclusion. gvSIG also seems to work OK with other WMSs. I'll go back to the WMS provider to see if it's a problem at their end.

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


More information about the Gvsig_internacional mailing list