Does anyone know where I can find a .Net sample for server object interceptors? I can't seem to find very much concerning server object interceptors. Any help would be much appreciated.
Here there is a sample in java:
mraad/ExportImageSOI · GitHub
In this code there is override to handleRESTRequest. If there is a request of 'export' and 'image' the function call custom doExportImage (watermark) otherwise follow the request from client
ExportImageSOI/ExportImageSOI.scala at master · mraad/ExportImageSOI · GitHub
I found that solution previously, but have not been able to get it running. I received several error when trying to add the ArcObject jar file to the project and have been unable to solve the issue. I'm not to familiar with Maven, Java, or Scala so I'm probably doing something incorrectly. I was really looking for a VB or C# example since that is much more familiar to me. If you have any suggestions related to the Java version or where I can find a C# or VB example let me know. Thanks.
The server object interceptor functionality will available in the 10.3.1 release of ArcGIS Server
I have 10.3 installed. Is it possible to create an SOI in 10.3 using VB or C#?
No, you need 10.3.1
If you install the ArcObjects SDK ArcObjects_SDK_for_NET_Framework_1031_145767.exe (or later?) it comes with a project that you can add to a solution in Visual Studio. It auto creates the SOI class you need to intercept with. It also creates the .SOE file on build, and places it in the bin folder to import into ArcGIS Server.
Retrieving data ...