Select to view content in your preferred language

fire stored procedure or batch file from flex button click

661
1
12-30-2010 08:34 AM
MikeJun
Emerging Contributor
In our ArcIMS web site, we have a button to fire up stored procedure executing batch file. What batch file does is download table from other server and create feature class in SDE.

Anyhow, is there any ways to fire a stored procedure or batch file from flex button click?


Below is a simple coldfusion code to fire a stored procedure.

      <cfquery datasource="#DSN#">
        dbo.prcGISCallCERTProcess
        </cfquery>
Tags (2)
0 Kudos
1 Reply
Drew
by
Frequent Contributor
The easiest way is to call a custom web service from your flex application.
I would google how to create a web service in your preferred language, and how to consume a web service in Flex. Its quite easy if you have programming experience.

Drew
0 Kudos