[fdo-internals] Code Submission Notification: Ticket #50 - WMS:
Failure connecting to http://www.premis.cz/atlaszp/isapi.dll
Greg Boone
greg.boone at autodesk.com
Thu Mar 22 22:59:02 EDT 2007
This submission fixes defect
Ticket #50 - Failure connecting to http://www.premis.cz/atlaszp/isapi.dll
After examining the WMS Server's GetCapabilities response
http://www.premis.cz/atlaszp/isapi.dll?service=wms&version=1.3&request=getcapabilities
The error being thrown was being caused by the following XML element in the response
-<Layer queryable="0" opaque="0" noSubsets="0">
-<Layer queryable="1" opaque="0" noSubsets="0">
<Title>Síte</Title>
<Name>site</Name>
The FDO WMS Provider expects that each layer have a name or title defined and throws an error if one is not found.
A solution to this defect was to relax the check inside the provider and simply ignore the invalid layers rather than throwing an exception.
------------------------
Author: gregboone
Date: 2007-03-22 22:51:12 -0400 (Thu, 22 Mar 2007) New Revision: 2708
Reviewed By: romicadascalesu
Modified:
trunk/Providers/WMS/Src/Provider/FdoWmsConnection.cpp
Log:
Ticket #50: WMS: Failure connecting to http://www.premis.cz/atlaszp/isapi.dll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070322/1ab6a5bb/attachment.html
More information about the fdo-internals
mailing list