SelectLayerByLocation out_layer_or_view not honored

Discussion created by nranicar on Dec 10, 2010
I'm using ArcGIS Server 9.3.1.

Attempting to use the SelectLayerByLocation GP tool within a web service I set the out_layer_or_view parameter but when I call the tool I see the value of this change (in the debugger) to the value of the in_layer parameter.

The reason I wanted to use the out_layer_or_view parameter is because I'm not seeing the expected results (ie. no selection set) on the in_layer after the tool has run, it returns all features, not just those that meet the selection criteria.

Does anyone have a workaround for this?