Accessing PostgreSQL data from Flash / Flex Builder using Coldfusion
Hello,
I am relatively new to Flash Builder. I don't know anything about Coldfusion. I want to access to a PostgreSQL database for an application. I made some searches, and it seemed like I needed a connector like Coldfusion to access to PostgreSQL from Flash / Flex builder.
I installed Coldfusion 9, added a PostGreSQL connection using Data & Services > Data Sources using ColdFusion Administrator. Then I wanted to see if the connection was working. I started Flash Builder, created a new project. Under Data/Services, I selected Connect to Data/Service. Here, it asked me to select a CFC file. Since I did not think I had created one, I clicked on "click here to generate a sample".
When I clicked on "Generate from RDS datasource, I am prompted with an authentication windows. I supposed my RDS username and password would be same as the Coldfusion login, "admin" and password. When I clicked OK on this authentication window, I get an RDS error:
"The following error occurred while getting datasource details. Check your RDS server and datasource settings and try again.
Error executing RDS command. Status code : 404 , Reason : Not found"
If I select "Generate from template" option in "Generate Sample CFC Service" window, it makes some sort of connection I guess, but I don't see any data that I have in my PostgreSQL database.
Can you explain me how I can fix this problem. I just want to access my PostgreSQL database.
Thanks
Naci
