I am trying to use BufferAsync to execute a buffer around a point graphic in this case. When monitoring in Fiddler there doesn't seem to be any action generated at all. I don't think a request is being sent to the server at all. It behaves the same way no matter which GeometryService I use, ESRI's or my own. I am using the code almost exactly as it is in the Samples. Anyone see any obvious issues here. I have separated the code for the geocode and that of the buffer into separate functions just to keep it clear for me. So the buffer is executing after a Click Event. private void BufferAddressButton_Click(object sender, RoutedEventArgs e)
{
_geometryService = new GeometryService("http://myServer/ArcGIS/rest/services/Geometry/GeometryServer");
_geometryService.BufferCompleted += GeometryService_BufferCompleted;
_geometryService.Failed += GeometryService_Failed;
_geometryService.CancelAsync();
BufferParameters buffParameters = new BufferParameters();
buffParameters.Unit = LinearUnit.StatuteMile;
buffParameters.BufferSpatialReference = new SpatialReference(54034);
buffParameters.OutSpatialReference = Map1.SpatialReference;
buffParameters.UnionResults = true;
GraphicsLayer graphicsLayerAddress = Map1.Layers["AddressSearched"] as GraphicsLayer;
Graphic graphic = graphicsLayerAddress.Graphics[0];
//buffParameters.
buffParameters.Distances.Add(2);
buffParameters.Features.Add(graphicsLayerAddress.Graphics[0]);
_geometryService.BufferAsync(buffParameters);
}