Hi,

I am testing GDAL/OGR WFS driver http://www.gdal.org/ogr/drv_wfs.html with 
Geoserver 2.2 beta 1 on Windows XP and Java 1.6.0_33

OGR WFS driver starts communication with WFS server by sending this request:

http://localhost:8080/geoserver/wfs?SERVICE=WFS&REQUEST=GetCapabilities&ACCEPTVERSIONS=1.1.0,1.0.0

This request fails for me and Geoserver sends me this:

<ows:ExceptionReport version="2.0.0" 
xsi:schemaLocation="http://www.opengis.net/ows/1.1 
http://localhost:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd";>
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.ClassCastException: 
net.opengis.ows10.impl.AcceptVersionsTypeImpl cannot be cast to 
net.opengis.ows11.AcceptVersionsType
net.opengis.ows10.impl.AcceptVersionsTypeImpl cannot be cast to 
net.opengis.ows11.AcceptVersionsType
</ows:ExceptionText></ows:Exception>
</ows:ExceptionReport>

What to correct and is it in Geoserver or in the OGR WFS driver?

-Jukka Rahkonen-

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to