Select to view content in your preferred language

geoprocessing widget help

747
0
08-03-2011 05:51 AM
jamesdiaz
Deactivated User
im trying to use the new geoprocessing widget and keep getting errors. if anyone could help me or point me into the right path I would greatly appreciate it. thanks

Error:
[RPC Fault faultString="Unable to complete  operation." faultCode="400" faultDetail="Invalid value for parameter 'Distance__value_or_field_'"]


here is my config file:

<?xml version="1.0"?>
<configuration label="Point Buffering">
    <taskurl>http://tcos141/ArcGISTest/rest/services/flex_dev/Flex_Buffer_Tool/GPServer/Point_Buffering</taskurl>
    <helpurl>http://tcos141/arcgisoutput/flex_dev_Flex_Buffer_Tool/Model.htm</helpurl>
    <inputparams>
        <param name="Distance__value_or_field_"
               defaultvalue="1000"
               label="Distance "
               required="true"
               type="string"
               visible="true"/>
        <param name="Feature_Set"
               type="featurerecordset"
               label="Input location"
               geometrytype="point"
               required="true"
               visible="true">
            <renderer type="simple">
                <defaultsymbol color="0xBEEFEE"
                               size="15"
                               type="simplemarker">
                    <outline width="2" color="0x00AADD"/>
                </defaultsymbol>
            </renderer>
        </param>
    </inputparams>
    <outputparams>
        <param name="Point_Buffer_shp"
               geometrytype="point"
               label="Buffer"
               required="true"
               type="featurerecordset"
               visible="true">
            <renderer type="simplemarker">
                <defaultsymbol alpha="0.5"
                               color="0xFF00FF"
                               type="simplefill">
                    <outline color="0x000000"/>
                </defaultsymbol>
            </renderer>
        </param>
        <param name="Point_Buffer_Conflicts_shp"
               geometrytype="polygon"
               label="Buffer2"
               required="true"
               type="featurerecordset"
               visible="true">
            <renderer type="simplefill">
                <defaultsymbol alpha="0.5"
                               color="0xFF00FE"
                               type="simplefill">
                    <outline color="0x000000"/>
                </defaultsymbol>
            </renderer>
        </param>
    </outputparams>
    <layerorder>Point_Buffer_shp,Point_Buffer_Conflicts_shp</layerorder>
</configuration>

<!--
    See Geoprocessing widget documentation at
    http://links.esri.com/geoprocessingwidget
-->
Tags (2)
0 Kudos
0 Replies