Select to view content in your preferred language

Invalid value for parameter

630
2
07-05-2010 06:38 AM
AriRaimundo
Emerging Contributor
Hi guys,

I'm trying to consume a geoprocessing service that I've published in ArcGIS Server 9.3.1 (SP1) that contains an input parameter of type GPFeatureRecordSetLayer. This parameter was created in ArcCatalog using a schema-less FeatureSet.

My client application uses Geoprocessor class of ArcGIS API for Microsoft Silverlight/WPF just like the sample "Clip_Features". I first tried to consume using Silverlight without success and then I tried with web interface but I got the same error (Invalid value for parameter X).

Is there any known issues of this API using schema-less parameters?

See below parameter that I'm trying to pass through web interface.

{ 
    "geometryType" : "esriGeometryPolygon",
    "spatialReference" : {"wkid" : 31984},
    "features" : 
    { 
        "geometry" : 
 {
     "rings" : 
            [
                [
                  [739374.29,8853590.48],
                  [742721.27,8853590.48],
                  [742721.27,8857347.57],
                  [739374.29,8857347.57],
                  [739374.29,8853590.48]
                ]
            ]
 }
    }  
}


PS: I'm using ArcGIS API For Microsoft Silverlight/WPF version 2.0 Beta.

Thanks in advance.

Ari C. Raimundo
Application Developer
Curitiba-PR-Brazil
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
Since you are experiencing the same issue from the web interface, the issue is with your GP REST service and not the API. I suggest you ask in the REST and/or server forums: http://forums.arcgis.com/forums/11-ArcGIS-Server-REST-API
0 Kudos
AriRaimundo
Emerging Contributor
Thanks Morten.

Ari C. Raimundo
Application Developer
Curitiba-PR-Brazil
0 Kudos