ChannelSet vs Endpoint - RemoteObject (+ColdFusion!) - Just Questions

hello,
I've been working with Flex for a few years now, and recently came across a discussion about channelsets versus the endpoint property in a remoteObject call. My questions are general, but I hope someone can shed some light on this issue:
1. I have an application that is configured with ColdFusion as it's destination, and I'm using a remoteObject. When I specify a dynamic endpoint, I can simply deploy the application across all of my environments, without having to change services-config.xml or remoting-config.xml files. The opposite is true of a channelset; in a channelset it appears as if I have to change the services-config and remoting-config.xml files in order to get my application to work on my environments. With that in mind, why would I use a channelset here versus an endpoint?
2. In the Adobe documentation for channelset, it states that Channelset is used in BlazeDS only (http://livedocs.adobe.com/flex/3/langref/mx/messaging/ChannelSet.html). What does this mean? Is this only accessible because BlazeDS is built into ColdFusion? If I do not have BlazeDS available, what happens to the channel set?
3. What types of applications would you use Channelset for? If you know the endpoint (e.g. www.yourwebsite.com/flex2gateway/secureamf), why would you use channelset over the endpoint property?
Thank you for your help.

If you have access to your deployment server you can use the Flex compiler
settings if you don't then the best option will be to use the endPoint,
there is no significant downside or upside on this. You can write a single
bindable var and in this one set the value for endPoint

Similar Messages

  • ColdFusion 11 Questions

    I have a few questions about CF 11. I have just installed CF 11 on a Windows 8 server. This
    is an all new server and software installation. It isn’t to where it can be
    viewed outside of our network just yet until we have everything installed and
    running properly on it. When it is all complete we will turn off the current
    server and change the name of this one and make it public. We have the
    certificate on it from the live site. So the name of the certificate and the
    name of the server do not match.I have had my websites on CF 7, CF 8 and CF 9
    servers previously.
    We have used mappings on all of our previous versions with image tags and ahref tags. Have
    things changed in CF 11 to not allow this anymore? An example is <img
    src="/PACTlogin/loginIMages/LoginPicture1.jpg" alt="Login Image"
    />.(/PACTlogin is the mapping) We use the mappings like this because we have
    dynamic pages being built. The same goes for ahref tags. An example of it is <a
    href="/pact/pactacademy/Index.cfm">PACT Academy</a> (/pact
    is the mapping). I have the mapping set up in the administrator just like I
    have used on all previous versions of CF. On CF 11 it says the image is
    missing. When you right click on the image it is actually looking for the image
    in a folder called PACTlogin or pact. Which doesn’t actually exist because it
    is a mapping. The mappings continue to work as expected in CF tags like
    cflocation or cfinclude. What is the work around to get this to work again? Do
    you create an application variable in the Application.cfc and use it in the tag
    like <img src="<cfoutput>#application.Addr#</cfoutput>/login/loginIMages/LoginPicture1.jpg"
    alt="" />? Is there a better way to do this? What are some ideas?
    I have googled lots of things and haven’t come up with much except that CF is being
    used with HTML 5 and since HTML tags like img and ahref are not cf tags it
    doesn’t recognize the link as a mapping as it did before. Is this correct?
    I have taken and created an application variable on Application.cfc and used it in place of
    the mappings and it still isn’t working. An example is <img src="<cfoutput>#application.Addr#</cfoutput>/login/loginIMages/LoginPicture1.jpg"
    alt="login Image" />. Any ideas on why this won’t work either?
    Here is what my page looks like now.
    This is what the page looks like when I go directly to the image in the browser.
    It is totally blank. Not even an X…
    I would appreciate any help or ideas. Thank you in advance.

    If your HTML <IMG> tag is pointing to a normal image (PNG, JPG, GIF, etc...) then ColdFusion is not involved whatsoever.  Only the webserver, IIS, serves images using the code you've entered.  IIS has no idea what your CF Mappings are.  CFLocation and CFInclude, however, are CF tags and so are processed by CF and are aware of the CF mappings.
    What I imagine has happened is your old servers has Virtual Directories defined in IIS that were identical to your CF Mappings.  Compare you directory structures in IIS between your old and new servers to see if this is the case.

  • ColdFusion Server question

    The company that hosts our site only has a CF5 and a CF6
    server. When it comes to CF, I wouldn't even call myself a rookie.
    More like an observer who knows that it exisits and is hoping to
    someday be a rookie. Before I invest the time and money, is
    anything created in CF7 going to work on their servers?
    Sub-Question: Should I just wait for the release of CF8?

    Should I just wait for the release of CF8?
    Of course - ask Adobe for the official answer. But in the
    past, the
    makers of ColdFusion, first Allair then Macromedia, where
    pretty good at
    allowing users who purchased a new license of CF, just before
    an upgrade
    is released, to get the upgrade when it came out. The grace
    period was
    a few months.

  • Coldfusion Updates question

    I am currently running Coldfusion 10, update 10.  I would like to install the updates, however, I've been getting an error when I login to my Administrative Console about updates - (error invoking CFC/ CFIDE/administrator/updates/download.cfc: internal server error site:forums.adobe.com)   and available updates do not appear in the "Server Update" section.  I would like to download the update and install at command line, but can't find anywhere online to download the actual update.  Please Advise.
    Is there a link to just download the updates somewhere?

    Finally found the answer (after I posted to forum) HA!
    Here's the link to download updates directly:
    How to download and install ColdFusion 10 Hotfix directly? — Adobe ColdFusion Blog

  • I think I need to restore my MacBook Pro but I am unsure how. When I turn it on, safari and iTunes do not show in the dock there is just question marks in its slot. Please help

    Not even had it on in a month and turned it on this morning and my dock is all messed up and I can't even open Finder

    Pull the question marks off the Dock and let go,  drag new icons of the app  down  to the Dock from the Applications folder.
    Try another restart in Recovery command R.
    Run the DiskUtility repair disk and repair permissions
    http://support.apple.com/kb/HT4718

  • Just question

    i'm vodafone gsm customer from egypt using nokia 6630 mobile phone want to connect to internet via my mobile i call a customer service and help me to connect but via gprs (packet data)and during setytin the engneer told me if vpn present on my mobile i said no ,i download it later but i can't understand what is this and how i can use it? 2nd question i read in other forum the connection via internet using mobile modem not cost any billing or subtract from my credit but the setttings which i made cost me each 1kb =2pt ie 1 megabyte =20 egyptian pound its crazy!

    the vpn client is used to connect you to a vpn.
    a vpn is a virtual private network and can offer a secure connection amongst other things. however, unless you have a vpn server to connect to then it will be useless.
    your second question makes no sense. everything you do regarding an outgoing actvitiy on the phone will cost you money, so if you call out to the internet on gsm or gprs its going to cost you. if you are unhappy with the price i suggest you look for a different network

  • Service Endpoint Interface and RemoteException question on the server

    Hello,
    I would like to be able to log and track RemoteExceptions when the network goes down when an attempt to send a response back to the client. I understand that Weblogic will handle the RemoteException but especially on a network failure I would like to be able to resend the message or at least notify a group that the connection is down.
    Can I have pointer on how to do this on the server as I'm sending back the reponse back to the client.
    This is an example of what I would like to do:
    public String getInformation(String xmlReq) throws RemoteException {
    String xmlRes ="";
    try {
    xmlRes = doTask(xmlReq);
    return xmlRes;
    } catch (RemoteException remoteEx) {
    handleCommunicationFailure(xmlRes); // do what I need to do
    throw new RemoteException (); // send the exception back to weblogic
    Yes, I'm new at this.
    Thanks!

    Please understand that Exception you're throwing from the body of your method you're creating the WS operation out of is mapped to SOAP fault. It is not meant to deal with network failure from the server side where your service endpoint is hosted.
    Also, in case of synchronous WS invocation, when/if the network outage takes place during the invocation, the SOAP proxy will throw a SOAPException with such information, but it won't convey any error conditions reported from the service (after all, the network has been disconnected, and there is no way to send SOAP response or fault message)
    On the server side, the service implementation business logic should/can not deal with network outage condition. However, on the client side, it's possible to have a retry-mechansim when network connection outage is temporary.
    Regards,
    Pyounguk

  • Coldfusion/Ajax Question

    Say I POST something through ajax to a .cfm file which has a
    query that will run based on the information passed. How do you
    read in coldfusion what was passed with the XMLHttpRequest POST
    object? For example. I want to have a text box where you can input
    an id number and have it reference a page that runs a coldfusion
    query to get the persons name. How do I read the data that was
    passed to the coldfusion page from the POST method.
    Any help is appreciated.

    A few changes...
    <script language = "javascript">
    var XMLHttpRequestObject = false;
    if (window.XMLHttpRequest) {
    XMLHttpRequestObject = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
    XMLHttpRequestObject = new
    ActiveXObject("Microsoft.XMLHTTP");
    function getData(dataSource, divID, inputID)
    if(XMLHttpRequestObject) {
    var obj = document.getElementById(divID);
    var data = inputID + '=' +
    document.getElementById(inputID).value;
    XMLHttpRequestObject.open("POST", dataSource,1);
    XMLHttpRequestObject.setRequestHeader('Content-Type',
    'application/x-www-form-urlencoded');
    XMLHttpRequestObject.onreadystatechange = function()
    if (XMLHttpRequestObject.readyState == 4 &&
    XMLHttpRequestObject.status == 200) {
    obj.innerHTML = XMLHttpRequestObject.responseText;
    XMLHttpRequestObject.send(data);
    </script>
    </head>
    <body>
    <H1>Test Ajax</H1>
    <form>
    <input type = "button" value = "Search SUID"
    onclick = "getData('page2.cfm', 'targetDiv', 'suid')">
    <input type = "text" name="suid" id="suid">
    </form>
    <div id="targetDiv">
    <p>Display Data Goes Here.</p>
    </div>
    Here is what I changed:
    function getData(dataSource, divID, inputID)
    --added inputID argument. This is the id of the textbox
    var data = inputID + '=' +
    document.getElementById(inputID).value;
    --gets the data to send from the textbox and formats it as
    "suid=value".
    XMLHttpRequestObject.open("POST", dataSource, 1);
    --changed "GET" to "POST"; also added 1 to tell it to process
    asynchronously
    XMLHttpRequestObject.setRequestHeader('Content-Type',
    'application/x-www-form-urlencoded');
    --added this line to set the request header for a form
    <input type = "button" value = "Search SUID"
    onclick = "getData('page2.cfm', 'targetDiv', 'suid')">
    --added the id of the text box to the argument list
    <input type = "text" name="suid" id="suid">
    --gave it an id
    Let me know how it works.

  • ColdFusion List Question

    Hello Community!
    I have two questions regarding CF lists:
    1-) I have a list that has the values 1,2,
    As you can see, the comma at the end of that string will make mymy program break because that list of comma delimited values is being used in a SQL statement: in(1,2,)
    How do I remove that comma at the end of my list?
    2-) I have a list with the values 1,,3
    How do I get rid of that unnecesary comma? How do I fill in the space between , and , with a value so it's 1,value,3 instead?
    Thanks!
    Ysais.

    if mylist = '1,2,'
    then you could make your SQL in(#removechars(mylist, len(mylist), 1)#)
    essentially removing the last character.
    to get rid of the unnecessary comma you could CFLOOP though the list and create another list 'mynewlist' this time not including anything that's blank
    ie if mylist = '1,,3'
    <cfset mynewlist = ''>
    <cfloop list="#mylist#" index="getitem">
    <cfif getitem neq ''>
    <cfset mynewlist = listappend(mynewlist, #getitem#)>
    </cfif>
    </cfloop>
    mynewlist becomes '1,3'

  • Basic Flex to Coldfusion cfstoredproc question

    Just starting this ride ...
    <cfstoredproc procedure="gmac.sel_smmry_by_mnth(
    3,'2001')" datasource="orcl"> called the Oracle proc correctly
    with the parms. I then attempted
    <cfcomponent>
    <cffunction name="getMasterQuery"
    output="false"
    access="remote">
    <cfargument name="rptNum" required="true"
    type="Integer">
    <cfargument name="yrInput" required="true"
    type="String">
    returntype="query">
    <cfstoredproc procedure="gmac.sel_smmry_by_mnth"
    datasource="orcl">
    <cfprocresult
    name="qSummary">
    <cfprocparam type="in"
    cfsqltype="CF_SQL_INTEGER"
    value = rptNum>
    <cfprocparam type="in"
    cfsqltype="CF_SQL_VARCHAR"
    value = yrInput>
    </cfstoredproc>
    <cfreturn qSummary>
    </cffunction>
    </cfcomponent>
    with the Flex call
    this.dataManager.getMasterQuery(3,"2001"); I get a CFC error
    saying
    The RPTNUM argument passed to the getMasterQuery function is
    not of type Integer. Not sure why I am getting this error - any
    help much appreciated,
    Mic

    Hi,
    Try changing your "rptNum" argument declaration's 'type'
    attribute as,
    <cfargument name="rptNum" required="true"
    type="numeric">
    and also all your 'cfsqltype="CF_SQL_INTEGER" ' occurences to
    "cf_sql_numeric"..
    HTH

  • COLDFUSION PRESALES QUESTION

    Can I use IIS server with the Developer or Trial edition ? Do
    I need enterprise edition of Cold fusion to run with an IIS server
    ?

    Yes, you can use IIS with the developer or Trial
    edition.

  • How to accept a certificat via a ChannelSet or a RemoteObject?

    Hi,
    I created a secure Channel, it works well if I accept the certificat of my server. However, I'm not able to accept this certificat when I use my flex application. I have to accept it by surfing on the direct URL with my browser and then I can do it.
    Is there a function in Flex that can help me to accept the certificat in my flex application?
    Thanks
    Bat

    Anye ideas?
    I'm using a verisign certificat. If I run my flex application in the browser, I can easly accept the certificat via my browser. However, in mode AIR, the aplication is not able/allow to accept the certificat...
    How could I solve this problem?
    Thanks

  • How to create a Flex3 project with remote ColdFusion server?

    I have a question related to Flex 3 and ColdFusion that it might be simple to answer but I have been struggling with it for a while.
    How to create a Flex application using Flex Builder 3 that uses ColdFusion, but the ColdFusion server is not installed locally but in a remote server?
    I need to create a Flex application to use with ColdFusion and although this is a simple procedure when we are creating the project in a computer where you have ColdFusion installed locally (as all books shows examples of it), but what if the ColdFusion server is installed in another machine in the network?
    My current situation is the following:
    -          I have Flex Builder 3 install in my PC at work and its workspace is in a folder in the network outside of my PC.
    -          We have a server (ISWEB1) partition in two drives; C, where the ColdFusion 8 is installed and D where all the files the developers work with reside. The ColdFusion installation runs in a server where IIS is used as the web server.
    -          I have the drive D on the server ISWEB1 mapped to one of my letter drives and can access it easily
    -          The drive C on the Server can only be accessed remotely (or through the web to access the ColdFusion admin page) and is not exposed to the network as drive D is.
    My problem is, I need to create a Flex 3 application that uses ColdFusion using remote object access service (CF Flash Remoting) but I wanted to point to the installation version on the server ISWEB1 and not to the one installed locally. The Configure ColdFusion Server screen in the Flex Builder asked me for the location of ColdFusion root folder, Web root, and root URL. There is no way I can point to the server (ISWEB1)where ColdFusion is installed as those fields seem to required a address that points to a local install or a mapping on that local server.
    The work around that could be used is to use the ColdFusion developers edition I have installed locally and use during the creation of the project in Flex Builder, but then I would have to have all the same data sources, mappings, and CFCs in my the local server in order to test, which seems double work. To aggravate that when you try to test the application Flex writes the files to the local server and unless you have everything available locally it would not work properly. I am trying to avoid duplicating the work. Ideally I would like to test the Flex application on the server where the CF is installed and where the Flex Builder workspace is.

    Sort of. I found this article below that helped me to connect to the remote CF server using MXML. It seems that you have to create a regular project in Flex with Aplication Server Type set to None and connect to CF using the endpoint attribute of the RemoteObject MXML tag or via AS.
    http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/200
    However I found out after getting error using the AS3 code to use the endpoint property that
    mx.rpc.remoting.RemoteObject does not support  the "endpoint" property
    whereas mx.rpc.remoting.mxml.RemoteObject does. See link below
    http://www.mail-archive.com/[email protected]/msg101439.html//www.mail-archive.com/[email protected]/msg101439.html
    So I had to change my AS3 code by adding a new channel to my RemoteObject using a code similar to the one on the link below (Note that this code uses PHP, when I instantiate myRemoteObject, I do so informing that the destination is "ColdFusion" [new RemoteObject("ColdFusion")], so no need to set destination as in the code on the link below
    http://tech.groups.yahoo.com/group/flexcoders/message/120115
    I hope that helps you.

  • Using ColdFusion with input hardware

    Hello,
    I am really new in this Coldfusion world and I was wondering
    if it's possible to use some hardware to input information into
    some modules and if it's easy to get the data.
    Thank you
    Where can I find an example?

    ayuso_15 wrote:
    > Hello,
    >
    > I am really new in this Coldfusion world and I was
    wondering if it's possible
    > to use some hardware to input information into some
    modules and if it's easy to
    > get the data.
    >
    > Thank you
    > Where can I find an example?
    >
    ColdFusion is completely irrelevant to this question, unless
    you are
    thing of some unusual situation.
    ColdFusion is a application server that runs on a network
    server. It
    will handle data and requests sent to it by a web server. The
    web
    server responds to request from clients usually using a
    browser, but
    increasingly by other tools.
    It is this end client tool that needs to understand an
    alternate input
    device such as a bar code scanner.
    At the other end, ColdFusion just does not care where the
    data comes from.

  • What version of Coldfusion?

    New to both Flex and Coldfusion. Max '06 got me a little
    pumped to jump out and start playing around. Wanted to know what
    version of Coldfusion I should be running to use Flex 2. I have
    space at Media Temple and they are currently running version 6 and
    plan to upgrade to 7 at some point. Any limitations to creating
    apps in Flex 2 using an older version? Thanks!

    To use the latest stuff - ColdFusion Connectivity with Flex
    Builder and ActionScript 3, you need ColdFusion 7.0.2 (the 0.2
    updater added ActionScript 3 capabilities as well as a new Flash
    Remoting gateway to ColdFusion).
    While you wait for that upgrade, you can still access your
    CFCs via WebServices or RemoteObjects, you just loose some of the
    ActionScript 3 features and you have to tell the RemoteObject to
    use the AMF0 protocol. Check the docs.

Maybe you are looking for