I have published a geoprocessing service in an ArcGIS Enterprise environment. This service accepts coordinates as parameter and is expected to return some calculated statistics. I have used the arcpy.AddMessage() function to display the output in ArcGIS Pro but after publishing the tool, the tool response is empty.
I wonder how to display the output in the response of the service.