<?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: Sample for calling a GP Service Task with a feature layer with multiple features in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643447#M3296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using FeatureSet in the model doesn't make any difference. The REST service looks exactly the same and the application behaves the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 12:25:47 GMT</pubDate>
    <dc:creator>ThomasIsraelsen</dc:creator>
    <dc:date>2013-05-09T12:25:47Z</dc:date>
    <item>
      <title>Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643441#M3290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to call a Geoprocessing Service from the WPF SDK, but I am having problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The model I published has several inputs - most of the non-spatial table data and those Work fine, but in addition there is a feature layer / class, for which I cannot get data into the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was hoping that someone could point me to a sample that does this. There are plenty of samples, but they all seem to load just one single feature into the service. This is unfortunate, since the API has a specific "shorthand" for this, and so the more general case is not shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see that the features are actually being transmitted to the server, since I have found them in JSON form in a file called definitions.dat under the server jobs folder. But I still think I must be doing something wrong since the model that is running on the server "sees" an empty input (as evidenced by my use of the GetCount Tool).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an abbreviated version of my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;m_gp = new Geoprocessor("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server:6080/arcgis/rest/services/Name/GPServer/Name" rel="nofollow" target="_blank"&gt;http://server:6080/arcgis/rest/services/Name/GPServer/Name&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;GPParameter&amp;gt; parameters = new List&amp;lt;GPParameter&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;Graphic&amp;gt; graphics = new List&amp;lt;Graphic&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while(notDone)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Graphic graphic = new Graphic();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; IDictionary&amp;lt;string, object&amp;gt; record = graphic.Attributes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; point = new MapPoint();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; point.X = x_value;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; point.Y = y_value;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; record.Add("field1","value1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; point.SpatialReference = new SpatialReference(25832);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; graphic.Geometry = point;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;graphics.Add(graphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GPParameter prm;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureSet fSet = new FeatureSet(graphics);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fSet.SpatialReference = new SpatialReference(25832);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;prm = new GPFeatureRecordSetLayer(recordSetName, fSet);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;parameters.Add(prm)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// add more parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m_gp.SubmitJobAsync(parameters);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 20:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643441#M3290</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-01T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643442#M3291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Thomas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set up my GP params using a foreach to add each graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
GPFeatureRecordSetLayer gpFeatures = new GPFeatureRecordSetLayer("input features");
foreach (var g in _localFeatureLayer.Graphics)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpFeatures.FeatureSet.Features.Add(g);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so I can check the geometry going in for each graphics during debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I wonder what inputs you have set for your model (e.g. feature class/layer/set). Could you post your input parameter info from the REST endpoint? I recall having a similar problem and the inputs were GPString instead of GPFeatureRecordSetLayer (due to the way I set up the model in ArcGIS Desktop).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other thing I often do when debugging GP services is to use CopyFeatures in the model to write out my inputs to the scratch.gdb and use ArcGIS Desktop to check them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643442#M3291</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2021-12-12T03:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643443#M3292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See REST info below. I'll try the CopyFeatures trick to see if I can get a look at them that way. Don't have much hope though, since GetCount reports "0 records".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thomas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task: Buf3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Display Name: Buf3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: (null) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Category: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help URL: &lt;/SPAN&gt;&lt;A href="http://server:6080/arcgis/rest/directories/arcgisoutput/Buf3_GPServer/Buf3/Buf3.htm"&gt;http://server:6080/arcgis/rest/directories/arcgisoutput/Buf3_GPServer/Buf3/Buf3.htm&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution Type: esriExecutionTypeAsynchronous &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameters: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: locations &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Data Type: GPFeatureRecordSetLayer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Display Name locations &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: l &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Direction: esriGPParameterDirectionInput &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default Value: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry Type: esriGeometryPoint &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HasZ: false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HasM: false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial Reference: 25832&amp;nbsp; (25832) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fields: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ID ( type: esriFieldTypeInteger , alias: ID ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Description ( type: esriFieldTypeString , alias: Description , length: 255 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Features: None.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter Type: esriGPParameterTypeRequired &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Category: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//////////////&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 more input parameters which work fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//////////////&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: locations_Buffer1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Data Type: GPFeatureRecordSetLayer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Display Name locations_Buffer1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: lb &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Direction: esriGPParameterDirectionOutput &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default Value: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry Type: esriGeometryPolygon &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HasZ: false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HasM: false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial Reference: 25832&amp;nbsp; (25832) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fields: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ID ( type: esriFieldTypeInteger , alias: ID ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Description ( type: esriFieldTypeString , alias: Description , length: 255 ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUFF_DIST ( type: esriFieldTypeDouble , alias: BUFF_DIST ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shape_Length ( type: esriFieldTypeDouble , alias: Shape_Length ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shape_Area ( type: esriFieldTypeDouble , alias: Shape_Area ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Features: None.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter Type: esriGPParameterTypeRequired &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Category: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Supported Operations:&amp;nbsp;&amp;nbsp; Submit Job&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 13:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643443#M3292</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-08T13:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643444#M3293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm. Looking at it now, isn't it suspicious that it says "Features: None." for the input parameter in the fields list?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why it would say that. The input parameter in the model I published has the data type "Feature Class".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I get back from the service's StatusUpdated event (running with 'informative' messaging):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Submitted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Buf3): Buf3 "Feature Set" "Record Set" "Record Set" "Record Set" c:\arcgisserver\directories\arcgisjobs\buf3_gpserver\jef2879d669e649a6b6be2b1e65e5f2e3\scratch\scratch.gdb\locations_Buffer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Wed May 08 17:06:52 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Buf3): Buf3 "Feature Set" "Record Set" "Record Set" "Record Set" c:\arcgisserver\directories\arcgisjobs\buf3_gpserver\jef2879d669e649a6b6be2b1e65e5f2e3\scratch\scratch.gdb\locations_Buffer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Wed May 08 17:06:52 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Get Count): GetCount "Feature Set"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Wed May 08 17:06:52 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row Count = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed May 08 17:06:52 2013 (Elapsed Time: 0,00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (Buffer): Buffer "Feature Set" c:\arcgisserver\directories\arcgisjobs\buf3_gpserver\jef2879d669e649a6b6be2b1e65e5f2e3\scratch\scratch.gdb\locations_Buffer1 "400 Meters" FULL ROUND NONE #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Wed May 08 17:06:52 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The process did not execute because the precondition is false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed May 08 17:06:52 2013 (Elapsed Time: 0,00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed May 08 17:06:52 2013 (Elapsed Time: 0,27 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed May 08 17:06:52 2013 (Elapsed Time: 0,27 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invalid return value: c:\arcgisserver\directories\arcgisjobs\buf3_gpserver\jef2879d669e649a6b6be2b1e65e5f2e3\scratch\scratch.gdb\locations_Buffer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The preconditions is just to have GetCount execute first. Returning 0 causes the "false" value and skipping buffer entirely.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643444#M3293</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-08T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643445#M3294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Thomas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you confirm that the tool parameter in ArcGIS Desktop is feature class? This has caused me some problems with GP services and packages. I use Feature Set as the input for the tool in ArcGIS Desktop, especially when using in-memory data such as graphic layers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other thing to check is that the input coordinates you are using are valid for the coordinate system that you use, although I expect you would get an out of bounds error or something similar. (Although I recently found and instance where the error I would get in ArcGIS Desktop didn't appear in the Runtime and the operation failed but returned no error.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 22:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643445#M3294</guid>
      <dc:creator>MatthewBrown1</dc:creator>
      <dc:date>2013-05-08T22:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643446#M3295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt: Thanks for helping out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes. It's a Feature Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try Feature Set, but it is my understanding, that the requirement to use the special data types designed for publication on Server is no longer there in 10.1. The publication wizard should transform the data types for us. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Authoring_geoprocessing_tasks_with_ModelBuilder/00570000007s000000/"&gt;this&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quoting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Differences between 10.0 and 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you authored geoprocessing services in 10.0, there were specific ModelBuilder techniques you used to author services, noted below. You no longer need to use these techniques in 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Legacy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prior to 10.1, geoprocessing tasks were required to have Feature Set data types to input features in geoprocessing tasks, and Record Sets to input tables. You do not need to use feature sets or record sets for services at 10.1; you need only specify an Input mode of User defined value for an input feature or table parameter when editing the task in the Service Editor. If your model (or script) currently uses a Feature Set or Record Set, you don't have to change it; it will publish as is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 10:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643446#M3295</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-09T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643447#M3296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using FeatureSet in the model doesn't make any difference. The REST service looks exactly the same and the application behaves the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 12:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643447#M3296</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-09T12:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643448#M3297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My problem is definitely in the client code and not in the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i found an Esri sample GP service using ArcGIS Server 10.1, and its REST definition for input features looks excactly like mine.&amp;nbsp; It is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/GPServer/Generate%20Service%20Areas"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/GPServer/Generate%20Service%20Areas&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if I adapt my code slightly to call this service rather than my own, I get an equivalent error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;StatusUpdated: esriJobFailed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Submitted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 030117: Insufficient input. Need at least one facility and one break value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Generate Service Areas).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (GenerateServiceAreas).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Generate Service Areas).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it probably did not get any facilities, which were the features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try once more to compare what I do to the code posted by Mike in the other thread: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/83867-Sample-for-calling-a-GP-Service-Task-with-with-multiple-features"&gt;http://forums.arcgis.com/threads/83867-Sample-for-calling-a-GP-Service-Task-with-with-multiple-features&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 15:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643448#M3297</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-09T15:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sample for calling a GP Service Task with a feature layer with multiple features</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643449#M3298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Figured it out: I got the parameter name slightly wrong (location vs. locations).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 11:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/sample-for-calling-a-gp-service-task-with-a/m-p/643449#M3298</guid>
      <dc:creator>ThomasIsraelsen</dc:creator>
      <dc:date>2013-05-10T11:59:02Z</dc:date>
    </item>
  </channel>
</rss>

