How would I get messages back from my GP Service to the silverlight client? I am passing the gp service some data to process and I want to have the gp service give some respone that the silverlight client would interpret and message to the user. Would a json response to do this.
By the way I still haven't figure out how to get the gp service instances' unique arcgisjobs folder id. I imagine I'll have to have the json data there as the silverlight client would be subscribing to arcgis sever at that spot.
**EDIT:
Per comments below, I do now know how to get the unique scratch space in the arcgisjobs folder. To clarify my question:
I am setting a result parameter in the python gp-service, a featureset, for the sl client to pick up. I would like to also give some verbal details back to the sl client to dialogue to the user. Along the lines of:
"Your two points calculated a percent slope of {percentSlope}" -- comes from python script
Do I set another output parameter in my python script as a txt file and have the sl client iterate through the results parameters and find the featureset and do A and then find the txt file and read it and do B? Thanks.
geoprocessorTask.GetResultDataCompleted += (s1, ev1) =>
{
GraphicsLayer graphicsLayer = MyMap.Layers["ReturnedGraphicsLayer"] as GraphicsLayer;
if (ev1.Parameter is GPFeatureRecordSetLayer)
{
GPFeatureRecordSetLayer gpLayer = ev1.Parameter as GPFeatureRecordSetLayer;
if (gpLayer.FeatureSet.Features.Count == 0)
{