output of geoprocessing service -- customize?? arcgis server 9.3.1

347
0
10-29-2012 12:56 PM
ramkolla
New Contributor
I am using 9.3.1 arcgis server, and published model by turning it into python as a gpserver service and it is synchronous.
Now my client needs output results to contain only the result nothing else.

currently the gpserver on execute task returns response like this (html):

[HTML]<b>Results:</b> <br/>
<br/>
<ul>
AreaName:<ul><br/>
<b>Value:</b> Isthmus<br/>
</ul><br/>
</ul><br/>
<b>Messages:</b> <br/>
<br/>[/HTML]

and what I need this to be is [HTML]<AreaName>Isthmus</AreaName>[/HTML]

How do I customize my gpresult, do I have to create another webservice as a wrapper on top of this?? or recreate the whole as a SOE. any comments will be very helpful.

Thanks
Kolla
0 Kudos
0 Replies