Hi Yolanda,

The example request did not work for me as well. I made some modifications
(based on the request from  this post
<http://osgeo-org.1560.x6.nabble.com/WFS-error-performing-insert-java-lang-String-cannot-be-cast-to-com-vividsolutions-jts-geom-Geometry-td3787417.html>
 
) and this seems to work:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs"; service="WFS"
version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<wfs:Insert>
    <feature:tasmania_roads xmlns:feature="topp">
      <feature:the_geom>
        <gml:MultiLineString xmlns:gml="http://www.opengis.net/gml";
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>
          <gml:lineStringMember>
            <gml:LineString>
              <gml:coordinates decimal="." cs="," ts="
">145.3417139606355,-42.8405577982561
144.3016869680161,-43.30159419600177</gml:coordinates>
            </gml:LineString>
          </gml:lineStringMember>
        </gml:MultiLineString>
      </feature:the_geom>
      <feature:TYPE>alley</feature:TYPE>
    </feature:tasmania_roads>
  </wfs:Insert>
</wfs:Transaction>

I am not sure, what the problem is with the shipped example insert request,
it seems to be some issue with namspace resolving. The logs do not show any
errors, the appllcation seems to hang trying to perform a
DescribeFeatureType operation after/during the insert operation.

Hope the modified request is useful for you.

Cheers,

Benjamin 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/help-me-geoserver2-4-2-can-t-transaction-insert-tp5091842p5093762.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to