1

How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information?

So, if string is 'owners' then get names of col1,col4,col9,col10, if string is 'zipcode' get name of col9. etc...

New to the SOE, and excited for some guidance, thanks.

4
  • Are you asking how to form a JSON response with an array of values from the SOE handler? Or do you want to know how to get the column information from a table?
    – Petr Krebs
    Commented Oct 10, 2013 at 10:13
  • What version of ArcGIS Server, and what will you be developing SOE in (.NET or Java)?
    – user890
    Commented Oct 10, 2013 at 13:20
  • I believe both. Value would be posted to SOE, returning table information (header names from sql query - if string is x then select x,y,z column names) into an array. This array will be consumed by listbox in javascript app. thanks!
    – ripsin
    Commented Oct 10, 2013 at 13:24
  • version of AGS is 10.2, SOE in .NET.
    – ripsin
    Commented Oct 10, 2013 at 16:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.