I have a situation where I need to add business logic to newly created features in a feature service. When new features are created I need to preform overlays and assign an ID from a stored procedure. I need this to happen automatically. In the desktop world this was easily done by listening for edit events in either an editor extension or a object class extension. Can SOEs accomplish the same thing? All the samples I have seen are for adding additional operations. I haven't seen anything for extending existing ones, in this case I guess it would be the create features operation of the REST Feature Service.
My understanding of SOEs is that they can add functionality to map services but can they extend existing functionality? Am I on the right track with SOEs or is another approach recommended?
I'm trying to avoid class extensions as every user of the feature class is required to have them installed on their machines. In ArcMap an editor extension works great. I'm hoping an SOE could be the same as this for ArcServer.
The source feature class is in an SDE database and several applications consume it in different ways. Some edit it some don't. I'm trying to avoid having to install class extensions on all these users machines. Adding an SOE to replicate the onCreate event of a class extension would be a perfect solution for me. Do you know if this functionality is possible in some way with an SOE?
From the help: All clients require the customization's library, even to view the data
I don't understand: you have a feature service so do you consume it with a web application? Or have you a feature service consumed also from desktop? have the feature class same business logic for all client?
Sorry if I'm not being clear and thanks for your help.
I have a feature class. It is published as a feature service. I want to edit this feature service with a web app (3rd party, little ability to customize).
The feature class is also consumed by desktop apps, arcgis and 3rd party.
I do not wish to apply a class extension to the feature class as I do not wish to install the necessary .dlls to the desktops of users who are using the feature class directly. Also not sure how it would react with 3rd party apps.
I wish to use an SOE on the feature service to automate certain business logic for the add features operation of the feature service.
Do you, or anybody, know if this is possible?
For clarity: I know I can add another operation to the feature service to do this but my web app would then have to make an extra call to this operation. Instead I want it to be executed automatically when a new feature is created.