[Geoserver-users] GeoServer1.6.1+SDE WFS issues

I'm trying to use GeoServer as WFS-T server for a SDE database, and
update-delete works well, but insert operations fails.
For a request like this:
<?xml version="1.0" ?><wfs:Transaction version="1.0.0"
releaseAction="ALL" service="WFS"
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:cmspectrum="http://www.gruppocm.it/cmspectrum&quot;
xsi:schemaLocation="http://www.opengis.net/wfs
../wfs/1.0.0/WFS-transaction.xsd"><wfs:Delete
typeName="cmspectrum:RAS_MS.ST01TE01CL04PLG"><ogc:Filter><ogc:FeatureId
fid=""/></ogc:Filter></wfs:Delete><wfs:Insert><cmspectrum:RAS_MS.ST01TE01CL04PLG><cmspectrum:SHAPE>
<gml:MultiPolygon srsName="EPSG:32632">
<gml:polygonMember>
<gml:Polygon srsName="EPSG:32632">
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>418135.4266259542,4348016.962442748,0
590356.3487633588,4348016.962442748,0
590356.3487633588,4285443.360732825,0
418135.4266259542,4285443.360732825,0
418135.4266259542,4348016.962442748,0
418135.4266259542,4348016.962442748,0</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon></cmspectrum:SHAPE></cmspectrum:RAS_MS.ST01TE01CL04PLG></wfs:Insert></wfs:Transaction>

I receive this response:
<ServiceExceptionReport version="1.2.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
  <ServiceException>
      java.lang.IllegalArgumentException: FeatureID does not seems as
a valid ArcSDE FID
FeatureID does not seems as a valid ArcSDE FID
</ServiceException>
</ServiceExceptionReport>

I'm launching this request from the "Sample requests" page of demo page.
Any suggestion?

--
Diego Guidi

Diego Guidi ha scritto:

I'm trying to use GeoServer as WFS-T server for a SDE database, and
update-delete works well, but insert operations fails.

We've already discussed this a bit on a private mail thread but
I'd like to report a bit reported by Gabriel Roldan on the ArcSDE
improvements that are landing on 1.6.x these days:

"btw, Diego, note we're in the process of backporting the arcsde improvements in trunk to 1.6.x, so if you're having transaction problems with 1.6 and sde that's no surprise, but expect to get a huge improvement soon."

Cheers
Andrea

Back into this, Diego, I guess I found and fixed the problem with inserts (<>)
yet, your sample failing transaction request bellow is a Delete and not an
insert, and the exception report seems fine as you're not providing a fid in
the FeatureId filter?

Could you please send back a sample insert request and exception report? (with
verbose exceptions turned on so I get the stack trace).

TIA,

Gabriel

On Monday 10 March 2008 09:45:01 pm Diego Guidi wrote:

I'm trying to use GeoServer as WFS-T server for a SDE database, and
update-delete works well, but insert operations fails.
For a request like this:
<?xml version="1.0" ?><wfs:Transaction version="1.0.0"
releaseAction="ALL" service="WFS"
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:cmspectrum="http://www.gruppocm.it/cmspectrum&quot;
xsi:schemaLocation="http://www.opengis.net/wfs
../wfs/1.0.0/WFS-transaction.xsd"><wfs:Delete
typeName="cmspectrum:RAS_MS.ST01TE01CL04PLG"><ogc:Filter><ogc:FeatureId
fid=""/></ogc:Filter></wfs:Delete><wfs:Insert><cmspectrum:RAS_MS.ST01TE01CL
04PLG><cmspectrum:SHAPE> <gml:MultiPolygon srsName="EPSG:32632">
<gml:polygonMember>
<gml:Polygon srsName="EPSG:32632">
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>418135.4266259542,4348016.962442748,0
590356.3487633588,4348016.962442748,0
590356.3487633588,4285443.360732825,0
418135.4266259542,4285443.360732825,0
418135.4266259542,4348016.962442748,0
418135.4266259542,4348016.962442748,0</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon></cmspectrum:SHAPE></cmspectrum:RAS_MS.ST01TE01CL04PLG><
/wfs:Insert></wfs:Transaction>

I receive this response:
<ServiceExceptionReport version="1.2.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
  <ServiceException>
      java.lang.IllegalArgumentException: FeatureID does not seems as
a valid ArcSDE FID
FeatureID does not seems as a valid ArcSDE FID
</ServiceException>
</ServiceExceptionReport>

I'm launching this request from the "Sample requests" page of demo page.
Any suggestion?

ah, I was meant to include this link in my previous message, sorry
<http://jira.codehaus.org/browse/GEOT-1733&gt;

Gabriel.

On Saturday 15 March 2008 10:34:45 pm Gabriel Roldán wrote:

Back into this, Diego, I guess I found and fixed the problem with inserts
(<>) yet, your sample failing transaction request bellow is a Delete and
not an insert, and the exception report seems fine as you're not providing
a fid in the FeatureId filter?

Could you please send back a sample insert request and exception report?
(with verbose exceptions turned on so I get the stack trace).

TIA,

Gabriel

On Monday 10 March 2008 09:45:01 pm Diego Guidi wrote:
> I'm trying to use GeoServer as WFS-T server for a SDE database, and
> update-delete works well, but insert operations fails.
> For a request like this:
> <?xml version="1.0" ?><wfs:Transaction version="1.0.0"
> releaseAction="ALL" service="WFS"
> xmlns:ogc="http://www.opengis.net/ogc&quot;
> xmlns:wfs="http://www.opengis.net/wfs&quot;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
> xmlns:gml="http://www.opengis.net/gml&quot;
> xmlns:cmspectrum="http://www.gruppocm.it/cmspectrum&quot;
> xsi:schemaLocation="http://www.opengis.net/wfs
> ../wfs/1.0.0/WFS-transaction.xsd"><wfs:Delete
> typeName="cmspectrum:RAS_MS.ST01TE01CL04PLG"><ogc:Filter><ogc:FeatureId
> fid=""/></ogc:Filter></wfs:Delete><wfs:Insert><cmspectrum:RAS_MS.ST01TE01
>CL 04PLG><cmspectrum:SHAPE> <gml:MultiPolygon srsName="EPSG:32632">
> <gml:polygonMember>
> <gml:Polygon srsName="EPSG:32632">
> <gml:outerBoundaryIs>
> <gml:LinearRing>
> <gml:coordinates>418135.4266259542,4348016.962442748,0
> 590356.3487633588,4348016.962442748,0
> 590356.3487633588,4285443.360732825,0
> 418135.4266259542,4285443.360732825,0
> 418135.4266259542,4348016.962442748,0
> 418135.4266259542,4348016.962442748,0</gml:coordinates>
> </gml:LinearRing>
> </gml:outerBoundaryIs>
> </gml:Polygon>
> </gml:polygonMember>
> </gml:MultiPolygon></cmspectrum:SHAPE></cmspectrum:RAS_MS.ST01TE01CL04PLG
>>< /wfs:Insert></wfs:Transaction>
>
> I receive this response:
> <ServiceExceptionReport version="1.2.0"
> xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
> <ServiceException>
> java.lang.IllegalArgumentException: FeatureID does not seems as
> a valid ArcSDE FID
> FeatureID does not seems as a valid ArcSDE FID
> </ServiceException>
> </ServiceExceptionReport>
>
> I'm launching this request from the "Sample requests" page of demo page.
> Any suggestion?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4045,47dc40d0118247180515871!