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:
<SPAN class="keyword token">from</SPAN> suds<SPAN class="punctuation token">.</SPAN>client <SPAN class="keyword token">import</SPAN> Client
<SPAN class="comment token"># Call Server</SPAN>
client <SPAN class="operator token">=</SPAN> Client<SPAN class="punctuation token">(</SPAN><SPAN class="string token"><SPAN>'</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmy_server%2Farcgis%2Fservices%2FFolder%2FFService%2FGPServer%3Fwsdl" target="_blank">http://my_server/arcgis/services/Folder/FService/GPServer?wsdl</A><SPAN>'</SPAN></SPAN><SPAN class="punctuation token">)</SPAN>
toolname <SPAN class="operator token">=</SPAN> <SPAN class="string token">'FService'</SPAN>
json_string <SPAN class="string token">'MQTT'</SPAN>
Values <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">]</SPAN>
Values<SPAN class="punctuation token">.</SPAN>append<SPAN class="punctuation token">(</SPAN>json_string<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN>client<SPAN class="punctuation token">.</SPAN>service<SPAN class="punctuation token">.</SPAN>Execute<SPAN class="punctuation token">(</SPAN>toolname<SPAN class="punctuation token">,</SPAN> Values<SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'json'</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="string token">''</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="comment token"># Call with as many parameters you want</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
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