Hello,

yes, this was the problem. The following query went through the
validation process quite nicely.

<wfs:Transaction service="WFS" version="1.1.0"
  xmlns:feature="http://www.opengeospatial.net/cite";
  xmlns:ogc="http://www.opengis.net/ogc";
  xmlns:wfs="http://www.opengis.net/wfs";
  xmlns:gml="http://www.opengis.net/gml";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.opengis.net/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>

Thanks,

 Zsolti

On Mon, Jan 31, 2011 at 3:03 PM, Andrea Aime
<[email protected]> wrote:
> On Mon, Jan 31, 2011 at 2:17 PM, Zsolt Sandor <[email protected]> wrote:
>> Hello,
>>
>> the schema is not the problem, we found out, that transactions in WFS
>> 1.1 are not supported, only in 1.0.
>
> Wrong, GeoServer supports transactions in both.
> I guess someone confused it with the wfs datastore, which can only send
> transactions to a wfs 1.0 implementation.
>
> A mixup with the schemas (wfs 1.1 request with a wfs 1.1 dft) would
> certainly cause
> parsing issues.
>
> Try to post your requests to http://host:port/geoserver/wfs?strict=true to 
> have
> GS enable XML schema validation and get you better error messages
>
> Cheers
> Andrea
>
>
> --
> Ing. Andrea Aime
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax:     +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>

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