Dear Chris, dear list,

The following XML Schema describes my WFS layer (DescribeFeatureType):

<xsd:complexType name="zonesType">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="geom"
nillable="true" type="gml:SurfacePropertyType"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="sitename"
nillable="true" type="xsd:string"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="zones" substitutionGroup="gml:_Feature"
type="MNS:zonesType"/>

A GetFeature-request (limiting to 1 feature) results in the following
instance:

<?xml version="1.0" encoding="utf-8"?>
<wfs:FeatureCollection numberOfFeatures="1"
timeStamp="2011-01-24T11:03:05.665+01:00"
xsi:schemaLocation="
http://10.38.11.2:8080/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=MNS%3Azones
http://www.opengis.net/wfs
http://10.38.11.2:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:gml="http://www.opengis.net/gml";
xmlns:MNS="http://dummy.mns.ns.glob";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:ows="http://www.opengis.net/ows";
xmlns:wfs="http://www.opengis.net/wfs";>
  <gml:featureMembers>
    <MNS:zones gml:id="zones.1">
      <MNS:geom>
        <gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:28992">
          <gml:exterior>
            <gml:LinearRing>
              <gml:posList>153864.27125 387699.24825 153864.27125
              417699.24825 173864.27125 417699.24825 173864.27125
              387699.24825 153864.27125 387699.24825</gml:posList>
            </gml:LinearRing>
          </gml:exterior>
        </gml:Polygon>
      </MNS:geom>
      <MNS:sitename>BRAB</MNS:sitename>
    </MNS:zones>
  </gml:featureMembers>
</wfs:FeatureCollection>

Editing a feature in MapInfo produces the following Update-transaction which
is successfully handled by GeoServer:
<?xml version="1.0"?>
<wfs:Transaction version="1.0.0" service="WFS"
xmlns:wfs="http://www.opengis.net/wfs";
xmlns:MNS="http://dummy.mns.ns.glob";
xmlns:gml="http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns="http://www.opengis.net/wfs";
xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <wfs:Update xmlns:wfs="http://www.opengis.net/wfs";
  typeName="MNS:zones">
    <wfs:Property>
      <wfs:Name>MNS:geom</wfs:Name>
      <wfs:Value>
        <gml:MultiPolygon xmlns:gml="http://www.opengis.net/gml";
        srsName="EPSG:28992">
          <gml:polygonMember>
            <gml:Polygon>
              <gml:outerBoundaryIs>
                <gml:LinearRing>
                  <gml:coordinates>289600,474884 257788,467100
                  258803,442395 301783,437657
                  305738.20000000001,451427.5 297722,464054
                  289600,474884</gml:coordinates>
                </gml:LinearRing>
              </gml:outerBoundaryIs>
            </gml:Polygon>
          </gml:polygonMember>
        </gml:MultiPolygon>
      </wfs:Value>
    </wfs:Property>
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";>
      <ogc:FeatureId fid="zones.9" />
    </ogc:Filter>
  </wfs:Update>
</wfs:Transaction>

Creating a new feature using a MapInfo produces the following transaction,
which raises an exception as described in my previous message:
<?xml version="1.0"?>
<wfs:Transaction version="1.0.0" service="WFS"
xmlns:wfs="http://www.opengis.net/wfs";
xmlns:MNS="http://dummy.mns.ns.glob";
xmlns:gml="http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns="http://www.opengis.net/wfs";
xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs";>
    <MNS:zones xmlns:MNS="http://dummy.mns.ns.glob";>
      <MNS:geom>
        <gml:MultiPolygon xmlns:gml="http://www.opengis.net/gml";
        srsName="EPSG:28992">
          <gml:polygonMember>
            <gml:Polygon>
              <gml:outerBoundaryIs>
                <gml:LinearRing>
                  <gml:coordinates>181961.10000000001,438326.5
                  181961.10000000001,468326.5
                  201961.10000000001,468326.5
                  200761.29999999999,454355.09999999998
                  201961.10000000001,438326.5
                  181961.10000000001,438326.5</gml:coordinates>
                </gml:LinearRing>
              </gml:outerBoundaryIs>
            </gml:Polygon>
          </gml:polygonMember>
        </gml:MultiPolygon>
      </MNS:geom>
      <sitename>HA2</sitename>
    </MNS:zones>
  </wfs:Insert>
</wfs:Transaction>

Yet, using QGIS, I can indeed Insert a new feature; all is handled nicely by
GeoServer:
<Transaction xmlns="http://www.opengis.net/wfs";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
version="1.0.0" service="WFS"
xsi:schemaLocation="http://dummy.mns.ns.glob
http://mnsgeo:8080/geoserver/wfs?getcapabilities&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=MNS:zones
"
xmlns:MNS="http://dummy.mns.ns.glob";>
  <Insert xmlns="http://www.opengis.net/wfs";>
    <zones xmlns="http://dummy.mns.ns.glob";>
      <sitename xmlns="http://dummy.mns.ns.glob";>HAA</sitename>
      <geom xmlns="http://dummy.mns.ns.glob";>
        <Polygon xmlns="http://www.opengis.net/gml";>
          <outerBoundaryIs xmlns="http://www.opengis.net/gml";>
            <LinearRing xmlns="http://www.opengis.net/gml";>
              <coordinates xmlns="http://www.opengis.net/gml";
              cs="," ts="">292984,485375 275724,489774
              264556,473868 277078,446118 305167,455932
              305844,477591 301444,478268
              292984,485375</coordinates>
            </LinearRing>
          </outerBoundaryIs>
        </Polygon>
      </geom>
    </zones>
  </Insert>
</Transaction>

The differences I notice between the last two transaction instances are:
- different use of namespaces (to me, both seem valid)
- geometries are constructed differently: MapInfo produces a MULTIpolygon.
Yet: with the Update-transaction it did also; which was successfully handled
by GeoServer!
- QGIS omits the EPSG spatial reference ID

Does anybody see what is going wrong here?

As you can see, my GeoServer set up CAN handle Update/Insert-transactions;
updating/inserting the PostGIS back-end. Yet, Insert-transactions posted by
MapInfo seem to be a problem... Is something wrong with the literal XML-text
of it?

All help and hints are very much appreciated!

Regards,
Rob



2011/1/20 InterRob

> I will have the chance to do so no earlier than next monday.
>
> Thank you for your input; I will get back to you (and the list),
>
>
>
> Rob
>
> 2011/1/20 Chris Holmes <[email protected]>
>
>> Can you post in the results of a describe feature type?  And of a wfs get
>> feature from that table?
>>
>> Could you try to re-insert one of the results you get from a get feature
>> request back in?  To see if it's a mapinfo problem or a problem with all
>> transactions.
>>
>>
>> On Thu, Jan 20, 2011 at 4:15 AM, InterRob <[email protected]> wrote:
>>
>>> Dear list, dear Chris,
>>>
>>> Sorry for posting so limited information, as I merely described the usage
>>> scenario...
>>>
>>> Below I pasted the verbose log, starting off with the actual
>>> WFS-T-request posted by MapInfo (inserting a single feature; column names:
>>> "geom", "sitename"). Just before the massive stack trace a SELECT-query is
>>> posted:
>>>
>>> SELECT "idx",encode(asBinary(force_
>>> 2d("geom"),'XDR'),'base64') as "geom","sitename" FROM "public"."zones"
>>> WHERE 0 = 1
>>>
>>> Something wrong there?
>>>
>>> Full log:
>>>
>>> 20 Jan 11:08:30 DEBUG [geoserver.ows] - Raw XML request starts with:
>>> <?xml version="1.0" ?>
>>> <wfs:Transaction
>>> version="1.0.0"
>>> service="WFS"
>>> xmlns:wfs="http://www.opengis.net/wfs";
>>> xmlns:MNS="http://dummy.mns.ns.glob";
>>> xmlns:gml="http://www.opengis.net/gml";
>>> xmlns:ogc="http://www.opengis.net/ogc";
>>> xmlns="http://www.opengis.net/wfs";
>>> xsi:schemaLocation="http://www.opengis.net/wfs../wfs/1.0.0/WFS-basic.xsd";
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>> <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs";><MNS:zones
>>> xmlns:MNS="http://dummy.mns.ns.glob";><MNS:geom><gml:MultiPolygon
>>> xmlns:gml="http://www.opengis.net/gml";
>>> srsName="EPSG:28992"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>290198.40000000002,434467.90000000002
>>> 251016,417508.40000000002 279087,382419.79999999999
>>> 312421.29999999999,405227.40000000002
>>> 290198.40000000002,434467.90000000002</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></MNS:geom><sitename>HAA</sitename></MNS:zones></wfs:Insert></wfs:Transaction>
>>>
>>> 20 Jan 11:08:30 INFO [geoserver.wfs] -
>>> Request: getServiceInfo
>>> 20 Jan 11:08:30 DEBUG [geotools.xml] - schemaLocation found:
>>> http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd
>>> 20 Jan 11:08:30 DEBUG [geotools.xml] - Found override for
>>> http://www.opengis.net/wfs: ../wfs/1.0.0/WFS-basic.xsd ==>
>>> jar:file:/usr/local/geoserver-2.0.2/webapps/geoserver/WEB-INF/lib/wfs-2.0.2.jar!/org/geoserver/wfs/xml/v1_0_0/WFS-basic.xsd
>>> 20 Jan 11:08:30 DEBUG [geotools.xml] - Could not find declaration for: {
>>> http://www.opengis.net/wfs}sitename<http://www.opengis.net/wfs%7Dsitename>.
>>> Checking if containing type declares a single particle.
>>> 20 Jan 11:08:30 DEBUG [geotools.xml] - Could not find declaration for: {
>>> http://www.opengis.net/wfs}sitename<http://www.opengis.net/wfs%7Dsitename>.
>>> Performing lookup by ignoring namespace
>>> 20 Jan 11:08:30 DEBUG [geoserver.wfs] - Locating FeatureSource uri:'
>>> http://dummy.mns.ns.glob' name:'zones'
>>> 20 Jan 11:08:30 DEBUG [geoserver.wfs] - located FeatureType w/ typeRef
>>> 'APPEL:zones' and elementName '{http://dummy.mns.ns.glob}zones'
>>> 20 Jan 11:08:30 DEBUG [geoserver.wfs] - Transasction
>>> Insert:net.opengis.wfs.impl.InsertElementTypeImpl@174f6ce (feature:
>>> [SimpleFeatureImpl:zones=[SimpleFeatureImpl.Attribute: geom<geom
>>> id=fid--38cac012_12da2e59234_-8000>=, SimpleFeatureImpl.Attribute:
>>> sitename<sitename id=fid--38cac012_12da2e59234_-8000>=HAA]], handle: null,
>>> idgen: <unset>, inputFormat: <unset>, srsName: null)
>>> 20 Jan 11:08:30 DEBUG [geoserver.wfs] - Use featureValidation to check
>>> contents of insert
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - CREATE CONNECTION
>>> 20 Jan 11:08:30 TRACE [geotools.core] - ENTRY -12,345
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - SELECT
>>> "idx",encode(asBinary(force_2d("geom"),'XDR'),'base64') as "geom","sitename"
>>> FROM "public"."zones" WHERE 0 = 1
>>> 20 Jan 11:08:30 INFO [gwc.GWCCleanser] - Deleting GWC cache for MNS:zones
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - Setting geom to
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - Setting 0 to
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - Setting sitename to HAA
>>> 20 Jan 11:08:30 DEBUG [geotools.jdbc] - Setting 1 to HAA
>>> 20 Jan 11:08:30 ERROR [geoserver.wfs] - Transaction failed
>>>
>>> org.geoserver.wfs.WFSTransactionException: Error performing insert
>>>         at
>>> org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:204)
>>>         at org.geoserver.wfs.Transaction.execute(Transaction.java:334)
>>>         at
>>> org.geoserver.wfs.Transaction.transaction(Transaction.java:109)
>>>         at
>>> org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:163)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>         at
>>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
>>>         at
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>>>         at
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>>>         at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51)
>>>         at
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>         at
>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>>         at $Proxy17.transaction(Unknown Source)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>         at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599)
>>>         at
>>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:230)
>>>         at
>>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>>>         at
>>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>>>         at
>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
>>>         at
>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
>>>         at
>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
>>>         at
>>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
>>>         at
>>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
>>>         at
>>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
>>>         at
>>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>         at
>>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>         at
>>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>         at
>>> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>         at
>>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>>         at
>>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
>>>         at
>>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>         at
>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>         at
>>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>         at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>>         at
>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>>>         at
>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>>         at
>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>>         at
>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
>>>         at
>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>>         at
>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>>         at
>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>>         at
>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>>         at org.mortbay.jetty.Server.handle(Server.java:324)
>>>         at
>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>>         at
>>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
>>>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
>>>         at
>>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>>         at
>>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>>         at
>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>>         at
>>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>>>
>>> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast
>>> to com.vividsolutions.jts.geom.Geometry
>>>         at
>>> org.geotools.jdbc.JDBCDataStore.insertSQL(JDBCDataStore.java:3245)
>>>         at
>>> org.geotools.jdbc.JDBCDataStore.insert(JDBCDataStore.java:1249)
>>>         at
>>> org.geotools.jdbc.JDBCDataStore.insert(JDBCDataStore.java:1207)
>>>         at
>>> org.geotools.jdbc.JDBCInsertFeatureWriter.write(JDBCInsertFeatureWriter.java:73)
>>>         at
>>> org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:335)
>>>         at
>>> org.geotools.data.store.ContentFeatureStore.addFeatures(ContentFeatureStore.java:255)
>>>         at
>>> org.vfny.geoserver.global.GeoServerFeatureStore.addFeatures(GeoServerFeatureStore.java:81)
>>>         at
>>> org.geoserver.wfs.InsertElementHandler.execute(InsertElementHandler.java:173)
>>>         ... 69 more
>>>
>>> Request: transaction
>>>         handle = null
>>>         service = WFS
>>>         version = 1.0.0
>>>         baseUrl = http://mnsgeo:8080/geoserver/
>>>         providedVersion = null
>>>         lockId = null
>>>         group =
>>> [wfs:insert=net.opengis.wfs.impl.InsertElementTypeImpl@174f6ce (feature:
>>> [SimpleFeatureImpl:zones=[SimpleFeatureImpl.Attribute: geom<geom
>>> id=fid--38cac012_12da2e59234_-8000>=, SimpleFeatureImpl.Attribute:
>>> sitename<sitename id=fid--38cac012_12da2e59234_-8000>=HAA]], handle: null,
>>> idgen: <unset>, inputFormat: <unset>, srsName: null)]
>>>         insert = 
>>> [net.opengis.wfs.impl.InsertElementTypeImpl@174f6ce(feature: 
>>> [SimpleFeatureImpl:zones=[SimpleFeatureImpl.Attribute: geom<geom
>>> id=fid--38cac012_12da2e59234_-8000>=, SimpleFeatureImpl.Attribute:
>>> sitename<sitename id=fid--38cac012_12da2e59234_-8000>=HAA]], handle: null,
>>> idgen: <unset>, inputFormat: <unset>, srsName: null)]
>>>         update = []
>>>         delete = []
>>>         native = []
>>>         releaseAction = ALL
>>>
>>> Any ideas?
>>>
>>> Regards,
>>> Rob.
>>>
>>>
>>> 2011/1/20 Chris Holmes <[email protected]>
>>>
>>>> You're going to need to provide some more info to give anyone the chance
>>>> to help solve the problem.
>>>>
>>>> Can you get what the actual transaction request that MapInfo is
>>>> sending?
>>>>
>>>> Posting the logs with the logging level turned up also may help.
>>>>
>>>> Chris
>>>>
>>>> On Wed, Jan 19, 2011 at 11:20 AM, InterRob <[email protected]>wrote:
>>>>
>>>>> Dear list,
>>>>>
>>>>> I have a PostGIS table with just 8 geometries (polygons), each row
>>>>> having only one data attribute (character(8) ).
>>>>> Using MapInfo 10.5 as a client, I downloaded these through WFS. Then, I
>>>>> added one feature by drawing a polygon and assigning some text to the new
>>>>> records' single attribute.
>>>>>
>>>>> To commit the editing to DBMS, I instructed MapInfo to save the table:
>>>>> MapInfo then generates a transaction request. However, GeoServer fails to
>>>>> process the transaction, logging a 
>>>>> org.geoserver.wfs.WFSTransactionException
>>>>> ("Error performing insert").
>>>>>
>>>>> It is stated that the exception was caused by:
>>>>> java.lang.ClassCastException: java.lang.String cannot be cast to
>>>>> com.vividsolutions.jts.geom.Geometry
>>>>>
>>>>> I'm running GeoServer 2.0.2.
>>>>>
>>>>> What is possibly causing this? Any help or hints are very much
>>>>> appreciated!
>>>>>
>>>>> Regards,
>>>>>
>>>>> Rob.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Protect Your Site and Customers from Malware Attacks
>>>>> Learn about various malware tactics and how to avoid them. Understand
>>>>> malware threats, the impact they can have on your business, and how you
>>>>> can protect your company and customers by using code signing.
>>>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>>> _______________________________________________
>>>>> 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

Reply via email to