I have developed a simple python tool as follows:
Then I published on ArcGIS server (User Defined mode for input data) and opened on ArcGIS Desktop:
When I run the geo-processing service (second fig) on desktop, with the same input data that I run on the python tool (first fig), it runs without any error but I cannot get any result.
I wonder to know, is it correct to run a service out of the Web environment?
However, when I create the geo-processing service with constant input data (no need to enter any input, already set as constant during publishing process) as follows:
It runs as I expected and I can get the result!