[OpenLayers-Users] Has anyone got WFS-T working with SDE files ?
cgp
carina_palanca at forcorp.com
Fri Sep 4 11:14:58 EDT 2009
And not just the normal shape files? I have got my SDE layers displaying but
they are not saving at all. I tried working with normal shape files and they
are all working fine. Here is what I have:
....
var saveStrategy = new OpenLayers.Strategy.Save({auto:true});
var wfs_layer = new OpenLayers.Layer.Vector("WFS", {
strategies: [ new OpenLayers.Strategy.BBOX(), saveStrategy ],
protocol: new OpenLayers.Protocol.WFS({
url: "http://app-serv-01-uat/geoserver/wfs",
featureType: "town_markers",
featureNS: "http://geoserver.sf.net",
featurePrefix: "sde",
srsName: "EPSG:900913",
version: "1.1.0",
geometryName:"SHAPE"
})
});
map.addLayer(wfs_layer);
map.addControl(new
OpenLayers.Control.Button({type:OpenLayers.Control.TYPE_BUTTON,title:
"Save Changes",displayClass: "olControlSaveFeatures",trigger:
function() { saveStrategy.save(); });
....
When I try to add features to the WFS layer or try to save changes to it, I
get the following response back: (from Firebug)
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://app-serv-01-uat:80/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.NoSuchMethodError:
org.geotools.arcsde.data.ArcTransactionState.getConnection()Lorg/geotools/arcsde/pool/ISession;
org.geotools.arcsde.data.ArcTransactionState.getConnection()Lorg/geotools/arcsde/pool/ISession;</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
I'm using OL 2.8 and testing on IE8 and Firefox 3.5.1. Any ideas? Thanks.
--
View this message in context: http://n2.nabble.com/Has-anyone-got-WFS-T-working-with-SDE-files-tp3580580p3580580.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list