Professional Web Applications Themes

Flex 2, FDS 2.5 and CF 8 - 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? ;-))) ...

  1. #1

    Default Flex 2, FDS 2.5 and CF 8

    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: [url]http://localhost:8501/iDashboard/login.cfc[/url]'

    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. :-(

    cyber fyb Guest

  2. #2

    Default Re: Flex 2, FDS 2.5 and CF 8

    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.

    Jim Gibson Guest

Similar Threads

  1. Flex 2 Project in Flex 3 Swf File Size Increase?
    By Arty13 in forum Macromedia Flex General Discussion
    Replies: 4
    Last Post: April 17th, 07:10 PM
  2. Support doent for Migration of application fro flex 2o flex 3
    By keerthikv in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: April 16th, 03:39 AM
  3. Not Flex JSP tag lib def in flex-bootstrap.jar (Flex 2Beta 2)
    By amoore_ie in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: May 30th, 09:22 AM
  4. Is the newest version of flex framework enough good fordeveloping flex rpc services?
    By aljeskica in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: April 11th, 12:03 AM
  5. Cannot find Flex server when running app in Flex Builder1.5
    By jupco in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: March 22nd, 05:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139