[Mapserver-dev] OGC ServiceExceptions and invalid layers

Steve Lime steve.lime at dnr.state.mn.us
Wed Oct 22 13:27:52 EDT 2003


Are you going to add a generic msReturnOGCError function to maperror.c?
That way all the
OGC services can use it.

Steve

>>> Daniel Morissette <morissette at dmsolutions.ca> 10/22/2003 11:30:57
AM >>>
Paul Spencer wrote:
> 
> The desired functionality is to have the various OGC clients to
detect a 
> ServiceException and push the information onto the error stack for 
> presentation to the user, then disable the layer and allow the
remaining 
> layers to render normally.
> 
>

Agreed.  We just need to detect XML exceptions (check the MIME type of

the response via libcurl) and pass them through the error stack.

This should have been done for both WMS and WFS XMl exceptions long
time 
ago...  This was one of the issues that couldn't be dealt with with 
libwww and led to the switch to libcurl in 4.0, but when I implemented

the switch to libcurl I forgot to fix the XML exception handling.  My
bad.

Can you please file a bug?

-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca 
  DM Solutions Group              http://www.dmsolutions.ca/ 
------------------------------------------------------------

_______________________________________________
Mapserver-dev mailing list
Mapserver-dev at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list