Select to view content in your preferred language

edit sample not working,

1081
3
09-07-2010 02:18 PM
SobodhDangwal
Occasional Contributor
Hi There

I am having a problem with the esri editing samples, the features are not being created or edited.
I have copied one of the editing sample and replaced the services with the ones running from our server. I have also copied the proxy.jsp file and made changes as discribed in the esri samples.

The server is arcgis 10 on java platform. I am using feature service, with data from enterprise SDE 9.31 . The data is versioned and the service is non pooled (have tried pooled as well)

The proxy file seems to be read, as this is the message in firebug "  POST http://......../proxy.jsp?http://........arcgis/rest/services/LMS/EditLayersPark/FeatureServer/1/app...   200 ok 17ms "

The editing toolbar seems to work as it lets me draw feature but the soon I finish drawing ( on doubleclick) the feature is not getting saved.

Any Ideas, why it doesn't work?
0 Kudos
3 Replies
MichaelRollins
Emerging Contributor
I had a similar problem when I was running my examples outside of a web server.  I could edit, but then the edits would all disappear and nothing would save.  Once I put my page inside of a web server (something like tomcat or jetty would suffice) it all started working correctly.
0 Kudos
SobodhDangwal
Occasional Contributor
Another note

We are using the Multiple Spatial Database Model for SDE ( not recommended) where as ESRI recommends using Single Database Model. Here is the Link which says that http://webhelp.esri.com/arcgisserver/9.3/Java/index.htm#geodatabases/using_mu769895119.htm

Does this has to do anything with the Editing issues??
0 Kudos
shwetakunjadia
Emerging Contributor
Hi ,

I am having same problem with proxy.jsp page??

Did you find the solution ??

Thanks,
Shweta
0 Kudos