Flex CRUD connecting ColdFusion

I have a question about Flex 4 Service authentication - Remote authentication.
In the username and password, I enter the data from the RDS or enter username and password for my MySQL database ...?

Neither. The Remote Authentication screen refers to hard-coded credentials in the CF server configuration as described here:
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec115d2 -7ffc.html#WSc3ff6d0ea77859461172e0811cbec115d2-7ff7
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Similar Messages

  • Flex SSL Connection on Non-SSL page

    hey there everyone,
    i'm about to get into my first FLEX project. however, before my company decides as to whether or not we'll go w/ Flex and the proposed solution, there was a question that I had to find an answer to, namely: if the end-user is on a non-ssl page, selects a link that has something similar to a shadowbox popup open in the window containing the FLEX interface, can the said FLEX webapp connect via SSL?
    Hopefully I explained the problem correctly. Please let me know if I need to develop the idea and explanation further.
    Thanks for any help!

    Yes a Flex app can use secure transport even if it's not hosted in a secure container.
    Look at
    SecureAMFChannel
    SecureHTTPChannel
    for examples on how to do this.
    I suppose the converse is also true... you can make non-secure calls from a secure page, but I've never tried this, so...

  • Flex 3 missing Coldfusion CRUD

    I just installed Flex 3, and I get RDS working fine. I was
    going to quickly build an app to test using the Coldfusion CRUD
    Wizard, but it appears to be non-existent in Flex 3?
    Help! Where did it go? Am I missing something? The only thing
    I found was a CFC wizard on the the RDS Dataview tab, but I need
    the entire CRUD application wizard, not just a few CFCs.
    Thanks!

    This appears to be a bug in the Windows Vista x64
    functionality with Flex 3 (even when the program is run as
    Administrator). I have posted a bug report and the work-around I
    discovered here at Adobe's Flex Bug and Issue Management System:
    https://bugs.adobe.com/jira/browse/FB-12276
    In case the link above becomes invalid, the problem is that
    NONE of the Wizard Folder expand to show and of the wizards
    available in the Wizard Selection window when you click to expand
    any folder and show its contents. The work-around is to type part
    of the name of the particular wizard you want to run in the search
    field above the wizard folder listings. This will cause the folder
    to expand and reveal the wizards matching what the user has typed.
    In my case I had to install Flex 3 on my Windows XP system to know
    the names of what I was searching for, and typing "cold" brought up
    the ColdFusion CRUD wizard below the folder.

  • Coldfusion/Flex CRUD Tutorial?

    Are there any tutorials on how to build a CRUD application
    from scratch using Coldfusion and Flex w/o FDS? I know Flex Builder
    2 includes a wizard, but it is just too limited, and doesnt help
    much when trying to learn how a CRUD is built.
    Thanks!

    Neither. The Remote Authentication screen refers to hard-coded credentials in the CF server configuration as described here:
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec115d2 -7ffc.html#WSc3ff6d0ea77859461172e0811cbec115d2-7ff7
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • What is required to connect Coldfusion to Flex?

    I have CFMX7 installed on a 2003 server. I'm trying to
    connect via Flex Builder but I'm having some issues. I read that a
    J2EE installtion of CFMX is required. Do I also need JRUN? Do I
    need to reinstall CFMX in order to get it to work with Flex?

    According to the "about this mac" it shows a Model Identifier: iMac7,1, processor Speed: 2.4GHZ and it is a dual processor.

  • Passing null/empty values from Flex to a Coldfusion ORM object

    This is the situation.
    If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
    For instance, if you have the following actionscript VO:
    package vo
        [RemoteClass(alias="com.companyname.Person")]
        [Bindable]
        public class Person
            public var person_id:Number;
            public var last_name:String;
            public var first_name:String;
            public var email:String;
            public var created_date:date;
         public function Person() {}
    And you have the corresponding Coldfusion component:
    <cfcomponent displayname="person" output="false"
        alias="com.companyname.Person"
        schema="dbo" persistent="true"
        table="PERSON">
        <cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
        <cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
        <cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
        <cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
        <cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
    </cfcomponent>
    Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created.  This is bad, bad, bad.  Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails.  But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not.  If you pass an empty string ("") you still have the same problem.  I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
    There seems to be two ways around it.  One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine.  I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
    Have other people encountered this problem?  How have you gotten around it?  Thanks.

    Looks like a known workaround to this issue is to wrap the Flex object in an array.
    The ColdFusion CFC will accept that as an array, with the first an only element being a struct, which is the object you built in Flex.

  • Is there a maximum size in either Flex, AMF or ColdFusion

    I wish there was an AMF forum.
    I have CF version 8,0,0,176276, Flex 3.0.214193, and Oracle 10g.
    I am trying to build an application in Flex, using RemoteObject access to a ColdFusion .cfc via the AMF channel. The application has several comment fields with are allowed to be over 4000 characters in length, so in Oracle they are defined as CLOBs. It all was going pretty well until I started to test it with some very long comments. Then the updates stopped working, but there was no error. I used CFFILE to dump the passed arguments out to a file, and found that one of the CLOB fields in the where clause was truncated. But then I don't know for sure that the CFFILE wasn't the one doing the truncating. All I know for sure is the update doesn't complete. None of the logs show anything. I can't use a TRY/CATCH in the .cfc because the CFQUERY runs without an error.
    Is there a size limit in Flex RemoteObject? or maybe the limit is in AMF.
    I don't even know where to start on this one. Any help you can give my is appreciated.
    Scott

    About CLOB size, it's 4Go not 4000 characters - VARCHAR2 supports up to 4000 bytes. Pay attention also to unicode encoding!
    Are you using CFQUERYPARAM to insert into the CLOB fields ?
         <CFQUERYPARAM CFSQLTYPE="CF_SQL_CLOB" VALUE="    ">
    use the Firebug extension (https://addons.mozilla.org/en-US/firefox/addon/1843) in Firefox3 and do some network monitoring: let me know what you're seeing there.
    Hope it will help...

  • Flex 3 and ColdFusion

    Not sure if I posted too much the first time, so lets take
    this one stap.
    I am so confused on this flex2gateway directory and cannot
    find a single answer in Google or the groups.
    Is the flex2gateway directory something that needs to be
    added to each app to access CF? I am getting this error on my app
    (Flex3 and BlueDragon 7):
    faultCode:Client.Error.MessageSend
    faultString:'Send failed'
    faultDetail:'Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 403: url: '
    http://med.umich.edu/flex2gateway/''
    If I need to add this directory (flex2gateway), what goes in
    it? I just want to connect to my CFC and populate the Flex app with
    my data!

    Ok, here is the answer since no one seems to know it. You
    cannot connect to CF if you A.) are running blue dragon or B.) Dont
    have the config files set up in Adobe CF.....
    If A or B, you need to use WebService or
    HTTPRequest...

  • Flex 3 and ColdFusion MX 702

    I have seen a few posts on similar problems in the Flex 2
    forums, but unfortunately no solution that would help me!
    Everything is working perfectly if I run Flex 3 on the same
    server as Cf is installed but if I try to set up the Flex project
    on my workstation I only get "Invalid root. The WEB-INF/flex folder
    must contain either flex-config.xml or services-config.xml."!
    So, obviously there is something wrong in how I specify the
    web root and url. I am running the J2EE version of CF and the IIS
    instead of the built-in webserver. I have tried so many different
    settings, changing the location of the config file, switching to
    the cf webserver, verifying that I can browse to the same location
    and that the flash2gateway is correct...
    Does anyone know how I should configure this correctly?
    Hi, Johan

    Hi Eastweb,
    I presume you have Flex Builder Beta 3. I think you should
    choose CF with ColdFusion Flash Remoting on the first page of the
    wizard. Second page of the wizard you should select:
    - Deployed to J2EE server;
    - Web root - browse to IIS web root folder
    - uncheck ColdFusion WAR is located in Web root and browse to
    WAR folder of the deployed ColdFusion (for example
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\).
    This should do the trick.
    regards,
    Mihai

  • Flex mobile connect to remote secure server!!

    Hi guys
    I'm a beginner with flex mobile.
    i'm trying to create an appllication flex mobile. and i have to connect to remote secured server (apache) to get some services deployed.
    i did it and when i try with emulator from flash builderit's worked, a pop up window started to enter a login and password for connect to the remote server. it's okay, i get a result.
    but now when i try this application with my mobile phone, application launched correctly but i can't connect to remte server ( i dont have anythig like a popup to enter the login and pssword).
    i need your help.
    thanks

    Did you ever figure this out? I'm having the same issue.

  • Exchange 2010 - unable to connect coldfusion

    Unable to connect to the Exchange server using HTTP/HTTPS protocol.
    HTTP response code : 400
    I have some Coldfusion code that used to work to add calendar events on behalf of a user.  The Exchange server is hosted at intermedia.net.  I've beat this code to death to no avail.  I could use a little hand-holding now.

    Hi,
    According to your description, you use some Coldfusion code to add calendar events on behalf of a user.
    If I misunderstand your meaning, please feel free to let me know.
    If yes, agree with ED said, I recommend you ask for more professional help on our development forum.
    http://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=exchangesvrdevelopment
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Flex codfusion  connection issue?

    hai friends,
              when i run project.i received this error
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail:'Channel disconnected before an acknowledgement was received'.
    i am very new to flex.Give solution. see my project below
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
    library://ns.adobe.com/flex/spark" xmlns:mx="
    library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <s:RemoteObject 
    destination="ColdFusion" id="Logon" source="IST_Business_Applications.IST_Docstor.file_access.display_filedowntest" >
    <s:method name="downl" fault="handlelogonFault(event)" result="handlelogonResult(event)" />
    </s:RemoteObject>
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert; 
    public function search_click(){
    //Logon.att("view","4436","0");
    Logon.downl(
    "1","4563","","file_view_iframe","Download"); 
    //Logon.dispfile("Copy","4436");
    //Logon.editattr("do_edit","11FA25D399BE9F2A6D35B7976CF2BCA7","4436","Docstor Workflow Configuration_20060603105302170.doc", " ","{ts '2010-08-04 06:15:15'}","Docstor Workflow Configuration","Docstor Workflow Configuration","doc","Testing file","TEsting file","this is test file.. test");
    private function handlelogonResult(event):void
    Alert.show(
    "welcome","Alert"); 
    private function handlelogonFault(event):void{
    Alert.show(event.fault.message);
    //Alert.show("Incorrect","Alert");
    ]]>
    </fx:Script>
    <s:Button 
    id="btn_search" x="261" y="269" label="Search" click="search_click();"/>
    </s:Application>
    Give solution.
    Thanks in Advance.
    regards,
    welcomecan

    This can be done by using <mx:Reparent/> tag.

  • Connect coldfusion with sql server

    HI everybody
    I need to know if i can  use sql server as a database and coldfusion as the webpage interface builder???? Can these 2 program work together (be connected to each-other)?? if yes can anybody explain how it  can be done or any link or something???????????                                                                                                 
    thnx in advanced
    aldo

    In addition to Ken's suggestion, you might want to look at how datasources work: http://livedocs.adobe.com/coldfusion/8/htmldocs/datasources_ADV_MJS_01.html.
    But, to be honest, this is such a fundamental question to be asking, I think you pretty much need to get hold of the CFWACK and read that: http://www.amazon.co.uk/Adobe-ColdFusion-Web-Application-Construction/dp/032151548X.
    Or take a Fast Track to ColdFusion course or something.
    Adam

  • Twitter in the Tour de Flex no connect

    Hi,
    I downloaded and installed in FLEX 4 the sample to connect to Twitter existing in the Tour de Flex,
    and I do not work, when I enter the username and password is put on hold with the clock,
    if I try to go directly to the Tour de Flex the program made the same.
    My username and password are correct in Twitter.
    Does anyone know what can be the problem?
    thanks

    Hello,
    Solution is very simple, just uncheck the "Group items  by category"  to display last version of  Tour de Flex feauture which is default checked
    and if you uncheck the "Show only the latest versions.." you will see all other versions.
    Regards,
    Goze

  • Connect Coldfusion 8 to AS400 (MAPICS)

    I am looking to connect to AS400 so that users can:
    1. Pass usernames and passwords to AS400
    2. query a "Work Order" to get related items (AS400)
    Thanks in advance.

    Disclaimer: I'm not familiar with MAPICS.
    If are trying connect to MAPIC using an OBDC or JDBC DSN setup in ColdFusion and execute SQL statements via CFQUERY you might try using the password and username attributes of CFQUERY.
    <cfquery name="myQuery" datasource="myMapicsDsn" username="#form.username#" password="#form.password#">
        <!--- your query here --->
    </cfquery>
    CFQUERY
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_17.html#1102316

Maybe you are looking for

  • Can I migrate RAM to new memory module?

    Sorry very novice user. I bought this Mac a year ago with only two memory slots with only one 512GB memory module installed. I recently purchased and installed memory (2 - 1GB memory modules), and it didn't start up. I assumed that the "start up" stu

  • Oracle b2b 11g jdev b2b issue

    Hi I am using 11g soa suite with jdev for b2b and while dragging the b2b adaptor and clicking next and then select the default then click next and all my connection to the localhost passes when i click "test b2b" button in the "soa http port" textbox

  • How do I attatch several emails to one I'm sending out?

    How do I attach several email to one I'm sending out?

  • RFC sender adapter doesn't reconnect after a R/3 down

    Hi everybody, We are in PI 7.0. The RFC sender adapter doesn't reconnect automaticaly after a shutdown/restart of the R/3 system. Theoritically, the system should retry after 2, 4 .... 3600 seconds  but it doesn't do. Is there anybody who have an ide

  • Is it possible to show previous sessions tabs AND homepages on startup?

    Hi :) I'm wondering if it's possible to open all the previous session's tabs at startup and also open the homepage(s) at the same time? I've tried fiddling with everything in the general tab but with no success. I couldn't find any solutions on the n