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?typename=cite:gis_fence&amp;version=1.0&amp;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&#xd;
>       at org.geoserver.wfs.Transaction.transaction(Transaction.java:114)&#xd;
>       at
> org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:162)&#xd;
> 

-- 
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

Reply via email to