Python call Geoprocessing Services with SOAP method

288
0
09-07-2017 08:07 AM
DEVAPP
by
New Contributor III

Hi,

i have develop a Geoprocessing services that have in a GPString as input value.

Now i need to call this GP by other system in SOAP method using python.

This is the python script to call GP in SOAP Methos:

from suds.client import Client

# Call Server
client = Client('http://my_server/arcgis/services/Folder/FService/GPServer?wsdl')
toolname = 'FService'
json_string  'MQTT'
Values = []
Values.append(json_string)




print(client.service.Execute(toolname, Values[0], 'json','')) # Call with as many parameters you want‍‍‍‍‍‍‍‍‍‍‍‍‍

The script call the SOAP method in correct way but pass always the default parameter of GP instead the value that i have set into script.

Why?

I have seen this documentation to write this request: ArcGIS Server SOAP SDK 

Any help please?

Thanks

Tags (1)
0 Kudos
0 Replies