Hello All,
I am building a widget that call a GP Service but I can't for the life of me figure out what the problem is.
I keep this error message.
[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail=""]
The service works just fine for me Desktop
So maybe somebody can look and see if I am missing something or not.
Here is the link for my service along with the code for my Widget
http://gis.delhitownship.com/arcgis/...sults/GPServer
<?xml version="1.0"?>
<configuration label="Sampling Results">
<description>Water Quality Sampling Results</description>
<taskurl>http://gis.delhitownship.com/arcgis/rest/services/DPS/SamplingResults/GPServer/River_Results/</taskurl>
<helpurl></helpurl>
<inputparams>
<param name="Year"
defaultvalue="2012"
label="1. Select Year"
required="true"
type="string"
visible="true">
<choicelist>
<choice value="2012"/>
<choice value="2011"/>
</choicelist>
</param>
<param name="Type"
defaultvalue="Ammonia"
label="2. Select Sampling Type"
required="true"
type="string"
visible="true">
<choicelist>
<choice value="Ammonia"/>
<choice value="Temperature"/>
<choice value="Ecoli"/>
<choice value="Phosphorus"/>
<choice value="pH"/>
<choice value="DO"/>
<choice value="COD"/>
<choice value="Macroinvertebrates"/>
<choice value="TSS"/>
<choice value="VSS"/>
</choicelist>
</param>
</inputparams>
<outputparams>
<param name="Rivers_Layer"
geometrytype="polyline"
label="Sampling Results"
required="true"
type="featurerecordset"
visible="true">
</param>
</outputparams>
<layerorder>Rivers_Layers</layerorder>
<labels>
<submitlabel>Submit</submitlabel>
</labels>
</configuration>
<!--
See Geoprocessing widget tag reference at
http://links.esri.com/geoprocessingwidget
-->