Select to view content in your preferred language

Sample for querying data from related tables in GeoDataServer

1099
5
08-02-2010 12:47 AM
sidneykelvin
Emerging Contributor
I've got a non-spatial database with related tables published in the ArcService GeoDataServer. Can anybody please give me samples on how to query on those tables in Actionscript.

Thanks in advance.
Tags (2)
0 Kudos
5 Replies
sidneykelvin
Emerging Contributor
dpaddock,

Thank you so much in your valuable advice. I didn't know that a related table can be viewed in the MapServer. In the Web service I published I couldn't view the related table. Can I do it in ArcGIS Server 9.3.1.3000 with mxd created in ArcMap 9.3.1? If yes, please advise what have I done wrong.

If no, I'm trying to work around and putting the tables in the Geodata Server, so can you advise me on samples to retrieve data in the Geodata Server?

Btw, I'm using Flex 3.0, can I make use of similar script from the sample?


Thanks again
0 Kudos
DasaPaddock
Esri Regular Contributor
Querying related records via the ArcGIS REST API requires ArcGIS Server 10:
http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/queryrelatedrecords.html

You can call a custom server side script to access your data. It can be implemented in any technology you're comfortable with. Here's a discussion on some of the options available:
http://livedocs.adobe.com/flex/3/html/Part4_data_access_1.html
0 Kudos
sidneykelvin
Emerging Contributor
dpaddock,

I need to work on the matter on ArcGIS Server 9.3.1.3000 and therefore I found the calling for a custom server side script more likely to solve my problem.

However, when I look into the part "Calling HTTP services in ActionScript", I got no idea in making query using the HTTP service.

Can you give samples in this?

Thanks
0 Kudos
DasaPaddock
Esri Regular Contributor
0 Kudos