Using GeoServer I can make a WMS getFeatureInfo request using the application/vnd.ogc.gml info_format and it returns the full GML of the feature, including the geometry. This is really useful as I can then use this GML in the browser to highlight features.
Example geoserver request: http:///geoserver/wms?LAYERS=&QUERY_LAYERS=&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=&FEATURE_COUNT=10&HEIGHT=500&WIDTH=500&FORMAT=image/png&INFO_FORMAT=application/vnd.ogc.gml&SRS=EPSG:2157&X=500&Y=500
However when I run this against an ArcGIS Server 10.1 WMS the result doesn't include the geometry.
I know there are ways of customising an ArcGIS Server 10.1 getFeatureInfo response (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005300000228000000), but I don't see any way of getting it to return the geometry.
I've tried the same with all the ArcGIS formats included in the GetCapabilities, but none of them return the geometry coordinates, they just give the geometry type. E.g. the GeoJson gives "GEOMETRY": "Polygon"
Is it possible to get ArcGIS Server 10.1 getFeatureInfo to return the geometry coordinates?