<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527218#M14206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SOE provides the ability to extend map services.&amp;nbsp; You cannot change them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can hook the underlying data via ArcObjects itself.&amp;nbsp; Perhaps you could define a custom feature class.&amp;nbsp; This starts to get deep fast and takes you down a path that will cause you pain in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 10:31:58 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2013-11-25T10:31:58Z</dc:date>
    <item>
      <title>Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527217#M14205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem that served as a reason to post this thread is concerning control over editing operations (Create, Query, Update, Delete) via the rest interface of the MapService in ArcGIS for Server (10.11).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to inherit all the functionality of a standard MapService, but somewhat override editing operations or hook them using SOE? Or override edit operation so that it requires some extra parameters? In the Functionality tab of the MapService we see capabilities such as Mapping, Feature Access and etc. Do we need to implement SOE for a FeatureService or MapService or how are they related?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 15:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527217#M14205</guid>
      <dc:creator>ArthurMazgarov</dc:creator>
      <dc:date>2013-11-24T15:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527218#M14206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SOE provides the ability to extend map services.&amp;nbsp; You cannot change them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can hook the underlying data via ArcObjects itself.&amp;nbsp; Perhaps you could define a custom feature class.&amp;nbsp; This starts to get deep fast and takes you down a path that will cause you pain in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 10:31:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527218#M14206</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-11-25T10:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527219#M14207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SOE provides the ability to extend map services.&amp;nbsp; You cannot change them.&lt;BR /&gt;&lt;BR /&gt;You can hook the underlying data via ArcObjects itself.&amp;nbsp; Perhaps you could define a custom feature class.&amp;nbsp; This starts to get deep fast and takes you down a path that will cause you pain in the future.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course we can hook the underlying data using ArcObjects. I ment the way if we can maybe inherit some class or interface providing that very REST interface that we use when editing data through web interfaces. If inheritance is not prohibited, then we might add some portion of code before calling original method... Is that possible? What could be that class or interface, might you know?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 15:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527219#M14207</guid>
      <dc:creator>ArthurMazgarov</dc:creator>
      <dc:date>2013-11-26T15:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527220#M14208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no built-in mechanism which allows you to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One possible solution is to develop a custom proxy to which you direct ArcGIS Server requests.&amp;nbsp; In that proxy you can intercept and override messages as needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 15:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527220#M14208</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-11-26T15:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527221#M14209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no built-in mechanism which allows you to do this.&lt;BR /&gt;&lt;BR /&gt;One possible solution is to develop a custom proxy to which you direct ArcGIS Server requests.&amp;nbsp; In that proxy you can intercept and override messages as needed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, this was the first idea that I came up with. I just wondered if there's a simpler way to do this...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 15:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527221#M14209</guid>
      <dc:creator>ArthurMazgarov</dc:creator>
      <dc:date>2013-11-26T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527222#M14210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no built-in mechanism which allows you to do this.&lt;BR /&gt;&lt;BR /&gt;One possible solution is to develop a custom proxy to which you direct ArcGIS Server requests.&amp;nbsp; In that proxy you can intercept and override messages as needed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok then, hello again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I started to use the proxy page and yes, I can intercept and change messages and all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when it comes to working with geoprocessing tools, some&amp;nbsp; strange problem occurs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two somple ways to call/work with geoprocessing in JS API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)When we create object pointing to a direct link, somewhat like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;new esri.tasks.Geoprocessor("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/arcgis/rest/services/Modeling/SetAsCurrent/GPServer/SetAsCurrent");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)The second way is using the proxy page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;new esri.tasks.Geoprocessor("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/&amp;lt;web application&amp;gt;/proxy.ashx?&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/arcgis/rest/services/Modeling/SetAsCurrent/GPServer/SetAsCurrent");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first way works perfectly, but is not suitable because we cannot intercept it server side, create a log entry etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second way is not working at all, proxy,ashx throws exception "The remote server returned an error: (400) Bad Request", but works well for editing operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strange thing is that, using developer tools in chrome we can see the request uri. And they are different (!):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;1)&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/arcgis/rest/services/Modeling/SetAsCurrent/GPServer/SetAsCurrent/execute?f=json&amp;amp;JobID=j8758a77f9c6245ab8c86646143683b30&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript32._jsonpCallback&amp;nbsp; (we can see here callback parameter)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;2)&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/&amp;lt;web application&amp;gt;/proxy.ashx/execute?&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/arcgis/rest/services/Modeling/SetAsCurrent/GPServer/SetAsCurrent=&amp;amp;f=json&amp;amp;JobID=j8758a77f9c6245ab8c86646143683b30&amp;nbsp;&amp;nbsp; (you can see how the request to proxy.ashx has changed)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can be done with this error? Try a different way to consume geoprocessing service through web (without using esri.tasks.Geoprocessor)??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 15:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527222#M14210</guid>
      <dc:creator>ArthurMazgarov</dc:creator>
      <dc:date>2013-12-04T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527223#M14211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is a link I found which has an example which uses a different approach to specifying the proxy page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/query_gpresult.html"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/query_gpresult.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 16:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527223#M14211</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-12-04T16:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add a little functionality to MapService using SOE, ArcGIS for Server 10.1 (10.11)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527224#M14212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 10.3.x y&lt;SPAN class="hps"&gt;ou can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use the&lt;/SPAN&gt; custom &lt;SPAN class="hps"&gt;soi (Server Object Interceptor) . See page 8 in &lt;A href="http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf" title="http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf"&gt;http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf&lt;/A&gt; .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 13:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/add-a-little-functionality-to-mapservice-using-soe/m-p/527224#M14212</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-10-09T13:26:41Z</dc:date>
    </item>
  </channel>
</rss>

