coldfusion flash integration:
Hi everyone, I am starting to retract my brain from an intense 2 days to figure out how to use Flex with Coldfusion. I am using Coldfusion 8 Beta (this part is good, don't need help for CF itself). I am also using Flex Builder 2 (with chart but this not the topic). I installed FDS 2.5 before to install ColdFusion 8 but I think CF8 have is own FDS or something like that... anyway, it might help to mention it! Well, I tried HTTPService, RemoteObject, WebSer vice - NOTHING WORKS!!! Argh! Did I mention I spent 2 days? ;-))) Well, I start with the basic: a login form with an email (as a username) and a password to be validated. I have a CFC to do the validation and return a simple message (string): "OK' when it is valid and a custom message when it is not valid; depending if it is the password and/or the email which is not valid. I always got an error. Since the error is different depending of the method I use, I will explain the latest method I used in this message and try to concentrate on that method specifically! The method is WebService and here is the error: faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail: 'Error: [IOErrorEvent type="ioError" bubbles:false cancelable=false eventPhase=2 text="Error #2032: Stream Error . URL=http://localhost:8501/iDashboard/login.cfc"]. URL: http://localhost:8501/iDashboard/login.cfc' Any help will be very useful!!! Thank's P.S.: I succeed only to execute a HTTPService when I call a XML file, but nothing from ColdFusion. :-(
I successfully used ColdFusion to generate XML as a response to an HTTPService request in an mxml file, but only after turning off debug output on ColdFusion Server. (The debug output was being appended to the XML response and causing a similar error as what you are seeing.) I don't know if that helps. I am having a problem figuring out how to pass a variable in the HTTPService request. Can't figure out if it gets passed in as 'Request.<variable>' or what. But I can at least provide an example that works if you don't need to pass any values to the CFML template.
Don't see what you're looking for? Try a search.
|