<HTML><HEAD>
<META content="text/html; charset=iso-8859-15" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Log in geoserver:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Request: transaction <BR>&nbsp; &nbsp; &nbsp; &nbsp; handle = null <BR>&nbsp; &nbsp; &nbsp; &nbsp; service = WFS <BR>&nbsp; &nbsp; &nbsp; &nbsp; version = 1.1.0 <BR>&nbsp; &nbsp; &nbsp; &nbsp; baseUrl = <A href="http://sig.fool.qc/geoserver/" rel=nofollow target=_top>http://sig.fool.qc:80/geoserver/</A>&nbsp;( <A href="http://sig.fool.qc:80/geoserver/" rel=nofollow target=_top>http://sig.fool.qc:80/geoserver/</A>&nbsp;) <BR>&nbsp; &nbsp; &nbsp; &nbsp; providedVersion = null <BR>&nbsp; &nbsp; &nbsp; &nbsp; lockId = null <BR>&nbsp; &nbsp; &nbsp; &nbsp; group = [wfs:delete=net.opengis.wfs.impl.DeleteElementTypeImpl@3028e92e (filter: [ SAGR_V3.17 ], handle: null, typeName: {<A href="http://sig.fool.qc/fadq" rel=nofollow target=_top>http://sig.fool.qc/fadq</A>}SAGR_V3), wfs:insert=net.opengis.wfs.impl.InsertElementTypeImpl@4de4e3b5 (feature: [SimpleFeatureImpl:SAGR_V3=[SimpleFeatureImpl.Attribute: GEOM&lt;GEOM id=fid--20068e19_12592a87d6b_6e15&gt;=MULTIPOLYGON (((-206413.01818846 292765.09570319, -206182.22900389 292089.51281744, -205745.8276367 292269.94799811, -205917.87048338 292479.75634772, -206413.01818846 292765.09570319))), SimpleFeatureImpl.Attribute: NAME&lt;NAME id=fid--20068e19_12592a87d6b_6e15&gt;=null]], handle: null, idgen: &lt;unset&gt;, inputFormat: &lt;unset&gt;, srsName: null)] <BR>&nbsp; &nbsp; &nbsp; &nbsp; insert = [net.opengis.wfs.impl.InsertElementTypeImpl@4de4e3b5 (feature: [SimpleFeatureImpl:SAGR_V3=[SimpleFeatureImpl.Attribute: GEOM&lt;GEOM id=fid--20068e19_12592a87d6b_6e15&gt;=MULTIPOLYGON (((-206413.01818846 292765.09570319, -206182.22900389 292089.51281744, -205745.8276367 292269.94799811, -205917.87048338 292479.75634772, -206413.01818846 292765.09570319))), SimpleFeatureImpl.Attribute: NAME&lt;NAME id=fid--20068e19_12592a87d6b_6e15&gt;=null]], handle: null, idgen: &lt;unset&gt;, inputFormat: &lt;unset&gt;, srsName: null)] <BR>&nbsp; &nbsp; &nbsp; &nbsp; update = [] <BR>&nbsp; &nbsp; &nbsp; &nbsp; delete = [net.opengis.wfs.impl.DeleteElementTypeImpl@3028e92e (filter: [ SAGR_V3.17 ], handle: null, typeName: {<A href="http://sig.fool.qc/fadq" rel=nofollow target=_top>http://sig.fool.qc/fadq</A>}SAGR_V3)] <BR>&nbsp; &nbsp; &nbsp; &nbsp; native = [] <BR>&nbsp; &nbsp; &nbsp; &nbsp; releaseAction = ALL <BR>&nbsp; <BR>org.geoserver.wfs.WFSException: Error performing insert <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.wfs.response.TransactionResponse.v_1_1(TransactionResponse.java:197) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.wfs.response.TransactionResponse.write(TransactionResponse.java:67) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.ows.Dispatcher.response(Dispatcher.java:705) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:213) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) <BR>&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:619) <BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>If&nbsp;i remove the line delete it works.</DIV>
<DIV>If i put the line delete in last, it works.</DIV>
<DIV>If i put only the line insert, it works.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Pat</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt;&gt;&gt; Andreas Hocevar &lt;ahocevar@opengeo.org&gt; 01/07/10 3:26 am &gt;&gt;&gt;<BR>Hi,<BR><BR>I do not see how the request below would make any difference if the<BR>order was changed. According to the schema, the Transaction children are<BR>a 0..* choice, not a sequence.<BR><BR>Can you please also paste the server response to the failing transaction<BR>request?<BR><BR>Regards,<BR>Andreas.<BR><BR>The only problem I see with the xml you pasted is that the<BR>On 2010-01-06 22:34, Patrick Mayrand wrote:<BR>&gt; Hi,<BR>&gt;&nbsp; <BR>&gt; with OL i use the edition of polygon. A transaction with several<BR>&gt; operation does not work<BR>&gt;&nbsp; <BR>&gt; GML generate by Openlayers:<BR>&gt;&nbsp; <BR>&gt; &lt;wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"<BR>&gt; version="1.1.0"<BR>&gt; xsi:schemaLocation="http://www.opengis.net/wfs <A href='http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"'>http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"</A><BR>&gt; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;<BR>&gt; &lt;wfs:Delete typeName="fadq:SAGR_V3"<BR>&gt; xmlns:fadq="http://sig.fool.qc/fadq"&gt;&lt;ogc:Filter (<BR>&gt; 'http://mrsig.fadq.qc/fadq" )<BR>&gt; xmlns:ogc="http://www.opengis.net/ogc"&gt;&lt;ogc:FeatureId (<BR>&gt; 'http://www.opengis.net/ogc" )<BR>&gt; fid="SAGR_V3.17"/&gt;&lt;/ogc:Filter&gt;&lt;/wfs:Delete&gt;<BR>&gt; &lt;wfs:Insert&gt;&lt;feature:SAGR_V3<BR>&gt; xmlns:feature="http://sig.fool.qc/fadq"&gt;&lt;feature:GEOM&gt;&lt;gml:MultiSurface (<BR>&gt; 'http://sig.fool.qc/fadq" ) xmlns:gml="http://www.opengis.net/gml"<BR>&gt; srsName="EPSG:32198"&gt;&lt;gml:surfaceMember&gt;&lt;gml:Polygon&gt;&lt;gml:exterior&gt;&lt;gml:LinearRing&gt;&lt;gml:posList&gt;-206413.01818846<BR>&gt; 292765.09570319 -206182.22900389 292089.51281744 -205745.8276367<BR>&gt; 292269.94799811 -205917.87048338 292479.75634772 -206413.01818846<BR>&gt; 292765.09570319&lt;/gml:posList&gt;&lt;/gml:LinearRing&gt;&lt;/gml:exterior&gt;&lt;/gml:Polygon&gt;&lt;/gml:surfaceMember&gt;&lt;/gml:MultiSurface&gt;&lt;/feature:GEOM&gt;&lt;/feature:SAGR_V3&gt;&lt;/wfs:Insert&gt;<BR>&gt;<BR>&gt; &lt;/wfs:Transaction&gt;<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; The order is:<BR>&gt;&nbsp; <BR>&gt; DELETE - INSERT<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; but the order should be reversed and it works<BR>&gt;&nbsp; <BR>&gt; INSERT - DELETE<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; It this normal?? a bug??<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; regards,<BR>&gt;&nbsp; <BR>&gt;&nbsp; <BR>&gt; Pat<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; Users@openlayers.org<BR>&gt; <A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR>&gt;&nbsp;&nbsp; <BR><BR><BR>-- <BR>Andreas Hocevar<BR>OpenGeo - <A href="http://opengeo.org/">http://opengeo.org/</A><BR>Expert service straight from the developers.<BR><BR></DIV></BODY></HTML>