Lennart Jütte <lists <at> rtjuette.de> writes: > > I forgot to mention that the WFS service level is set to "full" (my german geoserver shows > "völlständig"). Setting it to "transactional" doesn't help. > Often this problem come when you don't have primary key in your table(bb_karlsruhe_wfst), create one and expose primary key in geo-server.
> Am 27.05.2010 um 16:22 schrieb Lennart Jütte: > > > I'm trying to execute a wfs transaction, but i always get an exception: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <ows:ExceptionReport version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows > http://wka-wn- flogx:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows"> > > <ows:Exception exceptionCode="NoApplicableCode"> > > <ows:ExceptionText>{http://rtjuette.de}bb_karlsruhe_wfst is read- only</ows:ExceptionText> > > </ows:Exception> > > </ows:ExceptionReport> > > > > > > Here's the transaction: > > > > <wfs:transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" > xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <wfs:insert> > > <feature:bb_karlsruhe_wfst xmlns:feature="http://rtjuette.de"> > > <feature:way> > > <gml:multicurve xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326"> > > <gml:curvemember> > > <gml:linestring> > > <gml:poslist>8.3866882324218 49.011753124757 8.3908081054687 49.0315656227 8.4251403808594 > 49.020759783397 8.4175872802735 49.009951597471 8.4011077880859 49.018508271515 > 8.3976745605469 49.001393452634 8.3612823486328 49.008150004997 8.3592224121093 > 49.037417805904 8.407974243164 49.046419820376 8.4203338623047 49.042369115505</gml:poslist> > > </gml:linestring> > > </gml:curvemember> > > </gml:multicurve> > > </feature:way> > > </feature:bb_karlsruhe_wfst> > > </wfs:insert> > > </wfs:transaction> > > > > I can't find any setting that enables write protection for this layer. The user who is defined in the > store's settings has r/w access to the table. The table is empty at the moment, but i was able to read and > display elements that were stored there before. I used the GS webui to define a "Data security" rule that > reads "*.*.w" for role "*" (in addition to "*.*.r" "*"). > > > > I'm running Geoserver 2.0.2 on Debian lenny x86 with Java 1.6.20. The Datastore is a PostGIS 1.5 DB. > > I can remember working with WFS-T before, but i don't know if i used PostGIS back then. Am i missing anything? > > > > Regards, > > Lennart > > ------------------------------------------------------------------------ ------ > > > > _______________________________________________ > > Geoserver-users mailing list > > Geoserver-users <at> lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -------------------------------------------------------------------------- ---- > ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
