Sagewire Logo

Flex 2, FDS 2.5 and ColdFusion 8

2 Message(s) by 2 Author(s) originally posted in flash and cfml


From: cyber fyb Date:   Thursday, July 12, 2007
Hi everyone,

I am starting to retract my brain from an intense 2 days to figure out how to
use Flex with Cold Fusion. I am using Cold Fusion 8 Beta (this part is good,
do not need help for ColdFusion itself). I am also using Flex Builder 2 (with chart but
thisn't the topic). I installed FDS 2.5 before to install Cold Fusion 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 isn't
valid; depending if it is the password and/or the email which isn't valid.

I always got an error . Since the error is different depending of the method I
use, I'll 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 Cold Fusion. :-(


From: Jim Gibson Date:   Wednesday, August 01, 2007
I successfully used Cold Fusion to generate XML as a response to an HTTPService
request in an mxml file, but only after turning off debug output on Cold Fusion
Server. (The debug output was being appended to the XML response and causing a
similar error as what you are seeing.) I do not know if that helps. I am
having a problem figuring out how to pass a variable in the HTTPService
request. can not figure out if it gets passed in as 'Request.<variable>' or what.
But I can at least provide an example that works if you do not need to pass any
values to the CFML template.



Next Message: Using background images in flash forms


Blogs related to Flex 2, FDS 2.5 and ColdFusion 8

Man... tough decisions!!! My schedule for cf.Objective()
NET and Microsoft Exchange, FR4B: Mark Mandel: Advanced Transfer ORM Techniques, FR4C: Kevin Schmidt: ColdFusion Flex Integration (Remoting or FDS). 3:40 PM, 4:10 PM, Break. 4:10 AM, 5:10 PM, FR5A: Charlie Arehart: Understanding, ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional