Hi, At least your WFS schema and your feature type schema (DescribeFeatureType) are pointing to version 1.0.0 but you are trying to perform version 1.1.0 transaction. I do not know if it is the reason for failure, though.
-Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: Zsolt Sandor [mailto:[email protected]] > Lähetetty: 31. tammikuuta 2011 14:02 > Vastaanottaja: [email protected] > Aihe: Re: [Geoserver-users] WFS Transaction problem > > > Hello guys, > > it start's to being more interesting. I tried to run the following WFS > query: > > <wfs:transaction service="WFS" version="1.1.0" > xmlns:wfs="http://www.opengis.net/wfs" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:feature="http://www.opengeospatial.net/cite" > xmlns:gml="http://www.opengis.net/gml" > xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd > http://www.opengeospatial.net/cite > http://localhost:8888/geoserver/wfs/DescribeFeatureType?typena me=cite:gis_fence&version=1.0&service=WFS" > > > <wfs:update typeName="feature:gis_fence"> > <wfs:property> > <wfs:name>the_geom</wfs:name> > <wfs:value> > <gml:polygon srsDimension="2" > srsName="urn:x-ogc:def:crs:EPSG:4326"> > <gml:exterior> > <gml:LinearRing> > <gml:posList>-41.00477542222947 145.1953125 > -41.34382458118569 > 145.83251953125 -41.500349591289265 144.86572265625 -41.00477542222947 > 145.19531250</gml:posList> > </gml:LinearRing> > </gml:exterior> > </gml:polygon> > </wfs:value> > </wfs:property> > <ogc:Filter> > <ogc:FeatureId fid="gis_fence.7"/> > </ogc:Filter> > </wfs:update> > </wfs:transaction> > > java.lang.IllegalArgumentException: argument type mismatch > argument type mismatch > Details: > org.geoserver.platform.ServiceException: > java.lang.IllegalArgumentException: > argument type mismatch > at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1311) > at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher. > java:239) > ... > > Can someone help me to fix this? > > Thanks! > > > > > Zsolt Sandor wrote: > > > > java.lang.RuntimeException: java.io.IOException: Error occured > > calculating bounds > > java.io.IOException: Error occured calculating bounds > > Error occured calculating bounds > > ERROR: current transaction is aborted, commands ignored until end of > > transaction block</ows:ExceptionText> > > <ows:ExceptionText>Details:</ows:ExceptionText> > > <ows:ExceptionText>org.geoserver.wfs.WFSException: > > java.lang.RuntimeException: java.io.IOException: Error occured > > calculating bounds
 > > at > org.geoserver.wfs.Transaction.transaction(Transaction.java:114)
 > > at > > > org.geoserver.wfs.DefaultWebFeatureService.transaction(Default > WebFeatureService.java:162)
 > > > > -- > View this message in context: > http://old.nabble.com/WFS-Transaction-problem-tp30804990p30805964.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > -------------------------------------------------------------- > ---------------- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even > better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
