<?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 Custom Data Sync Service possible? (Wrapping OTB data sync service) in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688141#M2905</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;I have a mobile app which will require the ability to sync data in the field. I want to use the OTB data sync capability to do this, however i also have the requirement to perform some additional server side tasks before and after the data sync service call.&amp;nbsp; The tasks will be to enforce pre\post sync auditing and run some calculations on the synced data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would prefer not to have the client call multiple services (performance + a potential security threat as they could sync without passing through the audit trail)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I"m not sure if this is feasible, but what i'm trying to do is create a SOE which the following functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Invoke SOE
&amp;nbsp;&amp;nbsp;&amp;nbsp; Call PreSync Service
&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoke OTB ArcGIS Mobile Data Synchronisation Service via the REST interface (Block)
&amp;nbsp;&amp;nbsp;&amp;nbsp; Call PostSync Service&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would then try and have the client call the SOE to sync data instead of the normal REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 06:30:43 GMT</pubDate>
    <dc:creator>DanielBaternik</dc:creator>
    <dc:date>2011-10-06T06:30:43Z</dc:date>
    <item>
      <title>Custom Data Sync Service possible? (Wrapping OTB data sync service)</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688141#M2905</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;I have a mobile app which will require the ability to sync data in the field. I want to use the OTB data sync capability to do this, however i also have the requirement to perform some additional server side tasks before and after the data sync service call.&amp;nbsp; The tasks will be to enforce pre\post sync auditing and run some calculations on the synced data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would prefer not to have the client call multiple services (performance + a potential security threat as they could sync without passing through the audit trail)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I"m not sure if this is feasible, but what i'm trying to do is create a SOE which the following functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Invoke SOE
&amp;nbsp;&amp;nbsp;&amp;nbsp; Call PreSync Service
&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoke OTB ArcGIS Mobile Data Synchronisation Service via the REST interface (Block)
&amp;nbsp;&amp;nbsp;&amp;nbsp; Call PostSync Service&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would then try and have the client call the SOE to sync data instead of the normal REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 06:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688141#M2905</guid>
      <dc:creator>DanielBaternik</dc:creator>
      <dc:date>2011-10-06T06:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Data Sync Service possible? (Wrapping OTB data sync service)</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688142#M2906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings, I'm afraid I don't have a direct answer, although I'll offer you an opinion.&amp;nbsp; Now granted I don't know the size and scope of your project, but from what admittedly little I know about SOE's, it seems like it might a lot of work - and you may be able to alleviate your security concern in a different manner.&amp;nbsp; I do like your idea though, and let me know if you follow through with that path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an alternative, say you do require the client to call multiple web services - you could enforce that the syncing would fail by adding a column to each layer with an AuditID.&amp;nbsp; Your pre-sync audit service does it's thing and stores a result in the DB "SyncLog" with a Guid or something, which is then returned to the client.&amp;nbsp; You could then update the features's AuditID&amp;nbsp; with the Guid, and have triggers on the DB that check for that value against your SyncLog table, and don't allow the updates/inserts if things don't check out, therefore the sync would fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize that may be a bit of work too, and definitely more of a hack, but in the event that the SOE route isn't feasible, just another thought.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688142#M2906</guid>
      <dc:creator>StevenSchuldt</dc:creator>
      <dc:date>2011-10-11T14:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Data Sync Service possible? (Wrapping OTB data sync service)</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688143#M2907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll definitely consider your proposal. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will have to look more into the custom sync SOE approach, as it doesn't appear anyone has tried it before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 23:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/custom-data-sync-service-possible-wrapping-otb/m-p/688143#M2907</guid>
      <dc:creator>DanielBaternik</dc:creator>
      <dc:date>2011-10-11T23:49:37Z</dc:date>
    </item>
  </channel>
</rss>

