[Geoserver-users] help me!!! geoserver2.4.2 can't transaction insert

help me!!!
I met a question: I setup geoserver and find from geoserver 2.1.2 to geoserver2.4.2, geoserver demo-page wfs-transactioninsert.xml can’t be operated, it’s state is loading…
the geoserver.log info is:

2013-11-29 09:28:21,619 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,624 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,629 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,633 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:21,636 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:21,648 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:21,650 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml; charset=utf-8
2013-11-29 09:28:21,661 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,662 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,664 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,666 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:21,667 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:21,674 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,678 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,682 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,686 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,690 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/geoserver-ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,694 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,703 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,726 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:21,729 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html; charset=utf-8
2013-11-29 09:28:32,384 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,386 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,389 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,392 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:32,393 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:32,401 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:32,403 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml; charset=utf-8
2013-11-29 09:28:32,485 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,488 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,490 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,492 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:32,493 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:32,496 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:32,498 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html; charset=utf-8
2013-11-29 09:28:32,522 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,524 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,526 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,529 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/TestWfsPost] to HandlerExecutionChain with handler [org.springframework.web.servlet.mvc.ServletWrappingController@…6275…] and 1 interceptor
2013-11-29 09:28:32,536 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,538 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,539 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,541 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/wfs] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@…6276…] and 1 interceptor
2013-11-29 09:28:32,543 DEBUG [org.vfny.geoserver.requests] - First 4 bytes of XML doc are : 3C (‘<’) 21 (‘!’) 2D (‘-’) 2D (‘-’)
2013-11-29 09:28:32,544 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 1. Inferred encoding: UTF-8
2013-11-29 09:28:32,546 DEBUG [org.vfny.geoserver.requests] - Invalid(?) XML declaration: <!–
.
2013-11-29 09:28:32,547 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 2. Charset in XML declaration is null.
2013-11-29 09:28:32,549 DEBUG [org.vfny.geoserver.requests] - Trying to create reader basing on existing charset information: UTF-8.
2013-11-29 09:28:32,550 DEBUG [org.geoserver.ows] - Raw XML request starts with: <!–
YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE
IT WILL MODIFY YOUR SOURCE DATA FILES

It will add a simple line to the tasmania_roads dataset.


<wfs:Transaction service=“WFS” version=“1.0.0”
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:topp=“http://www.openplans.org/topp
xmlns:gml=“http://www.opengis.net/gml
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd http://www.openplans.org/topp http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=topp:tasmania_roads”>
wfs:Insert
topp:tasmania_roads
topp:the_geom
<gml:MultiLineString srsName=“http://www.opengis.net/gml/srs/epsg.xml#4326”>
gml:lineStringMember
gml:LineString
<gml:coordinates decimal=“.” cs=“,” ts=" ">
148.053131,-42.100563 148.028229,-42.188286 148.002258,-42.2295 147.969955,-42.254417 147.9…
2013-11-29 09:28:32,555 INFO [org.geoserver.wfs] -
Request: getServiceInfo
2013-11-29 09:28:35,592 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2013-11-29 09:28:35,595 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2013-11-29 09:28:35,598 DEBUG [org.geoserver.security] - End searching for expired authentication tokens

I just setup geoserver, and then run the demo, my system is windows7.

who can help me??? Is it a bug or do I need to config other item???

Hello,
it is not easy to understand the issue, since the log you sumbitted does not seem to report any error or something wrong.

Did you double checked that the WFS service is enabled in full transactional mode?

Can you also try to rise the log level to DEBUG / VERBOSE and try again in order to see if some sort of exception is raised up?

···

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Fri, Nov 29, 2013 at 3:49 AM, fanxing926 <fanxing926@anonymised.com> wrote:

help me!!!
I met a question: I setup geoserver and find from geoserver 2.1.2 to geoserver2.4.2, geoserver demo-page wfs-transactioninsert.xml can’t be operated, it’s state is loading…
the geoserver.log info is:

2013-11-29 09:28:21,619 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,624 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,629 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,633 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:21,636 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:21,648 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:21,650 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml; charset=utf-8
2013-11-29 09:28:21,661 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,662 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,664 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:21,666 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:21,667 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:21,674 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/screen.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,678 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/print.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,682 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/geoserver.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,686 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/blueprint/ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,690 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/css/geoserver-ie.css to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,694 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/js/jquery-1.2.6.min.js to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,703 DEBUG [org.geoserver.web] - cannot convert url: jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.2/webapps/geoserver/WEB-INF/lib/web-core-2.2.jar!/org/geoserver/web/js/jquery.inline-info.js to file (URI is not hierarchical), falling back to the inputstream for polling
2013-11-29 09:28:21,726 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:21,729 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html; charset=utf-8
2013-11-29 09:28:32,384 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,386 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,389 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,392 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:32,393 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:32,401 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:32,403 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/xml; charset=utf-8
2013-11-29 09:28:32,485 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,488 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,490 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/web/]
2013-11-29 09:28:32,492 DEBUG [org.geoserver] - Thread 10 locking in mode READ
2013-11-29 09:28:32,493 DEBUG [org.geoserver] - Thread 10 got the lock in mode READ
2013-11-29 09:28:32,496 DEBUG [org.geoserver] - Thread 10 releasing the lock in mode READ
2013-11-29 09:28:32,498 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/html; charset=utf-8
2013-11-29 09:28:32,522 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,524 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,526 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/TestWfsPost]
2013-11-29 09:28:32,529 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/TestWfsPost] to HandlerExecutionChain with handler [org.springframework.web.servlet.mvc.ServletWrappingController@anonymised.com] and 1 interceptor
2013-11-29 09:28:32,536 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,538 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,539 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/wfs]
2013-11-29 09:28:32,541 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/wfs] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com] and 1 interceptor
2013-11-29 09:28:32,543 DEBUG [org.vfny.geoserver.requests] - First 4 bytes of XML doc are : 3C (‘<’) 21 (‘!’) 2D (‘-’) 2D (‘-’)
2013-11-29 09:28:32,544 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 1. Inferred encoding: UTF-8
2013-11-29 09:28:32,546 DEBUG [org.vfny.geoserver.requests] - Invalid(?) XML declaration: <!–
.
2013-11-29 09:28:32,547 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 2. Charset in XML declaration is null.
2013-11-29 09:28:32,549 DEBUG [org.vfny.geoserver.requests] - Trying to create reader basing on existing charset information: UTF-8.
2013-11-29 09:28:32,550 DEBUG [org.geoserver.ows] - Raw XML request starts with: <!–
YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE
IT WILL MODIFY YOUR SOURCE DATA FILES

It will add a simple line to the tasmania_roads dataset.


<wfs:Transaction service=“WFS” version=“1.0.0”
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:topp=“http://www.openplans.org/topp
xmlns:gml=“http://www.opengis.net/gml
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd http://www.openplans.org/topp http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=topp:tasmania_roads”>
wfs:Insert
topp:tasmania_roads
topp:the_geom
<gml:MultiLineString srsName=“http://www.opengis.net/gml/srs/epsg.xml#4326”>
gml:lineStringMember
gml:LineString
<gml:coordinates decimal=“.” cs=“,” ts=" ">
148.053131,-42.100563 148.028229,-42.188286 148.002258,-42.2295 147.969955,-42.254417 147.9…
2013-11-29 09:28:32,555 INFO [org.geoserver.wfs] -
Request: getServiceInfo
2013-11-29 09:28:35,592 DEBUG [org.geoserver.security] - Start searching for expired authentication tokens
2013-11-29 09:28:35,595 DEBUG [org.geoserver.security] - Number of expired authentication tokens found: 0
2013-11-29 09:28:35,598 DEBUG [org.geoserver.security] - End searching for expired authentication tokens

I just setup geoserver, and then run the demo, my system is windows7.

who can help me??? Is it a bug or do I need to config other item???


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=84349351&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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&gt;
) and this seems to work:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs&quot; service="WFS"
version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
<wfs:Insert>
    <feature:tasmania_roads xmlns:feature="topp">
      <feature:the_geom>
        <gml:MultiLineString xmlns:gml="http://www.opengis.net/gml&quot;
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
          <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.

Hi Benjamin,

We had similar problems whit the WFS-T
Some stuff to concider:
1- Our DB is Postgres/Postgis. By default you cant modify using WFS-T. You need alter the tables. Check this link https://gist.github.com/springmeyer/1521679
2- We remove xsi:schemaLocation
3- Check the srsName property we use a different way. (Im not sure how works whit links)
4- Geoserver 2.4.0

I added our request as example. I hope you can solve it.

Cheers

<wfs:Transaction service=“WFS” version=“1.0.0”
xmlns:wfs=“http://www.opengis.net/wfs
xmlns:workspace=“http://www.comp.com/comp
xmlns:gml=“http://www.opengis.net/gml
xmlns:ogc=“http://www.opengis.net/ogc
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
wfs:Insert
workspace:db_point
workspace:sensor_label123</workspace:sensor_label>
workspace:sensorTemperature</workspace:sensor>
workspace:roleadmin</workspace:role>
workspace:floor3</workspace:floor>
workspace:way
<gml:Point srsDimension=“2” srsName=“urn:x-ogc:def:crs:EPSG:3857”>
<gml:coordinates decimal=“.” cs=“,” ts=" ">-7147126.389859418,-3676545.5192351174</gml:coordinates>
</gml:Point>
</workspace:way>
</workspace:db_point>
</wfs:Insert>
</wfs:Transaction>

···

Emilio Recio
Cell: 549-351-2445659
Cordoba,Argentina


emilio.recio

On 11 December 2013 11:15, BenjaminPross <b.pross@anonymised.com> wrote:

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:TYPEalley</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
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users