Allow GP Service To Take FeatureSet of Any Geometry Type

2100
2
08-26-2010 08:33 AM
RafaelFerraro
New Contributor II
Hello,

I am trying to a publish a service which converts a featureset to kml.  So, an input featureset could be of any geometry type - point,polyline,or polygon.  However, if I don't define a schema for the input featureset, I get an "invalid parameter" error immediately when I try to call service from a Flex client.  If I define schema, everything works as expected.

Is there anyway to allow a gp service to accept a featureset of any geometry type?
0 Kudos
2 Replies
RahulRavikumar
New Contributor
A GP service does not allow schema-less feature-sets. You can probably achieve the same using a RESTful Server Object Extension.
0 Kudos
RahulRavikumar
New Contributor
A GP service does not allow schema-less feature-sets. You can probably achieve the same using a RESTful Server Object Extension.


This was true at 9.3.x. At 10.0 we have fixed this problem so as to allow the GP Service to take schema less feature sets.
0 Kudos