I am using geoserver 2.7.2 and QGIS 2.4 and am trying to update an Oracle 
spatial  geometry via WFS-T. I got a Caused by: java.lang.ClassCastException: 
java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry error 
whenever I attempt the edit. Has anyone been successful in using Geoserver to 
do WFS-T updates on Oracle geometries? The request looks fine and the feature 
is defined as a Geometry so it seems like it should work.
<Transaction xmlns="http://www.opengis.net/wfs"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0.0" 
xmlns:cite="http://www.opengeospatial.net/cite"; service="WFS" 
xsi:schemaLocation="http://www.opengeospatial.net/cite 
http://cfpe-azdev1:5027/geoserver/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=cite:V_BUOYWFS&amp;SRSNAME=EPSG:4326";
 xmlns:gml="http://www.opengis.net/gml";><Update 
xmlns="http://www.opengis.net/wfs"; typeName="cite:V_BUOYWFS"><Property 
xmlns="http://www.opengis.net/wfs";><Name 
xmlns="http://www.opengis.net/wfs";>BESTGEOMETRY</Name><Value 
xmlns="http://www.opengis.net/wfs";><gml:Point 
srsName="EPSG:4326"><gml:coordinates cs="," ts=" 
">-104.01594128108584414,5.30989706503926229</gml:coordinates></gml:Point></Value></Property><Filter
 xmlns="http://www.opengis.net/ogc";><FeatureId 
xmlns="http://www.opengis.net/ogc"; 
fid="V_BUOYWFS.5426110"/></Filter></Update></Transaction>
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to