I'm new to Flex and was following the steps in this tutorial, http://help.adobe.com/en_US/Flex/4.0/html/WSbde04e3d3e6474c44e9f0a921210cbd7a14-8000.html
However, I'm getting stuck in the "Configure Return Type" step. Per the tutorial, I leave "Auto-Detect" checked, then click "Next"
This is when Flex comes back with this error message:
There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
Reason: java.io.FileNotFoundException: http://192.168.1.4/flex2gateway/
Sure enough, when I go to http://192.168.1.4/flex2gateway/ I get a 404.
I'm running IIS 6, Windows 2003 server, and ColdFusion 8,0,1,195765
Also, I have "Enable Flash Remoting support" and "Enable Remote Adobe LiveCycle Data Management access" checked.
The fact that you are unable to browse to the url and get a 404 when you try to do that, indicates that this may be a setup issue.
Do your server settings validate on the New Project Wizard? You can also try validating them in the Flex Server node of the Project Properties.
Computer Scientist, Flash Builder