WFS hiding elements

2339
0
01-03-2011 11:09 AM
Labels (1)
RyanClark
New Contributor II
From a featureclass with about 30 attributes I built a .mxd, and used this to publish a map service, with WMS and WFS enabled. The WFS response is supposed to conform to an established schema, and so it is not okay for some of those 30 fields to be missing. Null values are okay, but absent is not okay.

How come ArcGIS Server sometimes hides the elements that are null in the dataset? I noticed that the DescribeFeature request sets minOccurs=0 for all the fields except ObjectID and Shape. Can I change that somehow?

While I'm at it, is there any way to hide the ObjectID field in the WFS response? My data has its own, independently maintained identifiers.

Thanks,
Ryan
0 Kudos
0 Replies