Hello all,
We're creating a SOAP request to a GP Service via xml but we can't figure out how can we pass the GPValue parameters to the service. This is our xml request.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.esri.com/schemas/ArcGIS/10.4">
<soapenv:Header/>
<soapenv:Body>
<ns:SubmitJob>
<ToolName>Reporte GeoEvent</ToolName>
<Values>
<GPValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Value xsi:type="ns:GPString" >0791</Value>
<Value xsi:type="ns:GPDate" >1475137771000</Value>
</GPValue></Values>
</ns:SubmitJob>
</soapenv:Body>
</soapenv:Envelope>
Solved!!
<Values>
<!--Zero or more repetitions:-->
<GPValue xsi:type="ns:GPString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Value>1000003729</Value></GPValue>
<GPValue xsi:type="ns:GPString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Value>08</Value></GPValue>
<GPValue xsi:type="ns:GPString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Value>TQN000063A</Value></GPValue>
</Values>