Hey- Zdenek Hynek wrote: > Hi there, > > I'm experiencing difficulties with WFS-T. I'm trying to update geometry > of a multipoint layer with the commit method. The transaction failes > with the following error, though: > > WFS Transaction: FAILED > > <?xml version="1.0" encoding="UTF-8"?> > > <wfs:WFS_TransactionResponse version="1.0.0" > xmlns:wfs="http://www.opengis.net/wfs" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.opengis.net/wfs > http://mapserver.geogr.muni.cz/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd"> > > <wfs:InsertResult><ogc:FeatureId fid="none"/></wfs:InsertResult> > <wfs:TransactionResult> <wfs:Status> <wfs:FAILED/> </wfs:Status> > <wfs:Message>Error performing insert</wfs:Message> > > </wfs:TransactionResult> > > </wfs:WFS_TransactionResponse>
There could be a number of reasons for this. You'll get more detail if you do the following: * Add "?strict=true" to your WFS URL. So, if it was "/geoserver/wfs" before, make it "/geoserver/wfs?strict=true" (yes, even though the transaction is POSTed). * Configure the server for verbose exception logging. More details from GeoServer folks/site on how to do that. I'm assuming you are using the WFS layer in 2.7 (or the trunk). If you are able, you could try the new WFS protocol (not yet in trunk). Repo dir - http://svn.openlayers.org/sandbox/topp/wfs If you get more information on the exception, write back. Tim > > The transaction XML my application is generating is as follows: > > <wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0" > service="WFS"><wfs:Insert><feature > > :test_tomas_mista > xmlns:feature="http://www.openplans.org/prepr"><feature:the_geom><gml:MultiPoint > > xmlns > > :gml="http://www.opengis.net/gml"><gml:pointMember><gml:Point><gml:coordinates > > decimal="." cs="," ts > > =" > ">16.696817016601564,49.25109252929687</gml:coordinates></gml:Point></gml:pointMember></gml:MultiPoint > > > ></feature:the_geom></feature:test_tomas_mista></wfs:Insert></wfs:Transaction> > > Can anybody grip where the problem might be. > > Thanks > > Regards. > > Zdenek > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Tim Schaub OpenGeo - http://opengeo.org Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
