rkolla

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

Discussion created by rkolla on Oct 29, 2012
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

Outcomes