acrctba

Invalid value for parameter

Discussion created by acrctba on Jul 5, 2010
Latest reply on Nov 30, 2010 by alarosa
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 REST web interface but I got the same error (Invalid value for parameter X).

Is there any known issues of 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]
                ]
            ]
 }
    }  
}

Thanks in advance.

Ari C. Raimundo
Application Developer
Curitiba-PR-Brazil

Outcomes