BlazeDS with Flex and ATG

Hi All,
Can any one tell me how to integrate ATG and Flex using Blazeds.

Hi,
Were you able to resolve the issue?
We are having the same issue when running on local with IE7.
For amf channel we are using localhost:8080 (local jboss).
Please let me know.
thank you

Similar Messages

  • Configuring blazeds, spring, flex and eclipse ide

    Hi,
    Can you please suggest me in configuring blazeds, spring, flex and eclipse ide. I have tried hard googling, but couldnt get solution for configuring all the four.
    thanks in advance

    Hi jvk180:
    Firstly, you should either need to define the destination in remoting-config.xml or in app-context.xml, but and in both places.
    Secondly, the error indicates that it is missing the channel information.
    Option 1:
    Assuming your bean "helloServiceDestination" uses other Spring beans, then:
    1. The right place to declare the destinations is in app-context.xml.
    2. In that case, you need to also define the channels that the destination will be exposed over. See documentation for how to do that.
    3. In your remote object declaration, you need to pass the channel set that gets used as well.
    <mx:ChannelSet id="cs">
       <mx:AMFChannel url="http://<yourServerName>:<yourServerPort>:/<yourContextRoot>/messagebroker/amf"/>
    </mx:ChannelSet>
    <mx:RemoteObject id="ro" destination="helloServiceDestination" channelset="{cs}" result="resultHandler(event)" fault="faultHandler(event)"/>
    Option 2:
    If you declare your destination, in remoting-config.xml, then you need to compile your swf with services-config.xml. Refer to documentation for how to do that.
    Hope that helps.
    Rohit

  • How to setup Blazeds with Flex builder 3

    I need to setup Blazeds with Flex builder 3. Can anyone help me out regarding this?

    Very helpful! Should be placed in the blazeDS docs!
    Chris

  • What is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    http://www.adobe.com/devnet/flex/pdfs/getting_started_with_Flex3.pdf
    what is prereq for reading above, and for start develop/reading with flex and cf(level?) ?

    The Flex Quickstarts will be a place for starters, if you want to know 
    about Flex/CF integration the first to know would be some basics of CF.
    Sincerely,
    Michael
    Sent from my iPhone

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • Working with Flex and Central

    Hi,
    I am new in Flex and Central and interested in working with
    Flex and Central and I'm currently trying to run one of the samples
    from the "Central Flex SDK", the HelloFlexCentral. I have an error
    when trying to run the application. The "import.mx.central" line is
    not recognized.
    I don't understand how to connect Flex and Central. My
    questions are :
    - Do I have to install a JRun environment to run/develop this
    kind of application or can I develop the application without a JRun
    Environment ?
    - Can I deploy my application on a IIS server for example
    (and then all the users will install it in central by accessing
    this webserver) ?
    - Where do I have to put all the "CentralIntrinsics" stuff to
    avoid this error I encounter ?
    Thank you for your answers.
    Olivier

    If you want three distinct notes, I suggest you cut it into three samples, then using flex pitch drag the notes to the pitches you desire. Keep in mind that the farther away a note is from it's actual sampled pitch, the worse it's quality will be.

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Developing flex apps that use blazeds with flexbuilder and eclipse

    Hi all,
    Im new to Flex. I'm trying to setup my development environment. What I've noticed is that when blazeds is started and I run a flex project, it creates a folder in the blazeds root folder named $ProjectName-debug (replace $ProjectName with the actual project name). Once this folder is created, and the flash page is accessed, it cannot be deleted until blazeds is actually stopped. The files on that folder seem to be locked. While this folder is locked, eclipse cannot seem to re-build the project (specifically clean). Thus every small change I make to the project, I'm currently having to stop blazeds, clean the flex project, start blazeds, run the flex project.What makes things worse is that I have to start our application along with blazeds so it can retrieve the data from the app (which takes a few minutes).
    I'm wondering if other people are having to go through this pain or if they've figured out a way to get around this. I would ideally like to have a way where I'm able to rebuild the project and hit f5 and reload the page and see the changes. I understand this is not possible with debug.
    If anyone has figured out a way to incorporate blazeds to their development environment in a more practical way, please let me know. We just switched from tapestry/gwt to flex. We used to be able to update on the go thus development was much simpler.
    Regards,
    Udam

    Hi Udam. I don't seem to have that problem. I'm using the FlashBuilder 4 (formerly FlexBuilder) beta so maybe it is a bug in the version of FlexBuilder you are using, although it could also be something else in your environment.
    When I clean the project in FlashBuilder 4 it deletes all the assets from the $ProjectName-debug directory and then rebuilds the project. It doesn't attempt to delete the $ProjectName-debug directory itself.
    If you are not using the FlashBuilder 4 beta I would try using that and see if it resolves the problem for you. If that fixes things then you know it is an issue with the version of FlexBuilder you are using.
    If that doesn't do it, it could be an issue with the application server you are using or maybe something else in your environment.
    If you still have problems after trying this with FlashBuilder 4 please reply back with as much information about your environment as you can such as what application server you are using, what OS you have, what browser you are testing with, if you have FlexBuilder and BlazeDS running on the same machine or separate machines, etc.
    Thanks.
    -Alex

  • Getting Started with Flex and Java RPC for Free?

    Good Morning,
    Please forgive me if this is the wrong place to post- I'm
    just having trouble wrapping my head around what is and what isn't
    available for free in the Adobe Flex world.
    I've been working on an application for the last few months
    using Open Laszlo (
    http://www.openlaszlo.org/),
    but I've been running into frustrations with their lack of
    up-to-date documentation, and I've found it difficult to bring new
    people into the project, since the set of users who know it is so
    small.
    While I do like that I can compile to DHTML, that's not
    enough to hold me there.
    I've been looking into Adobe Flex, and it seems like a good
    alternative- I'm comfortable paying $500 for the IDE-
    I use Eclipse currently, so having a plugin for it sounds
    ideal. That said, when I look into ways to talk to a Java backend,
    everything points to Flex Data services, which is now part of some
    larger package costing tens of thousands of dollars.
    I don't need advanced messages, or data synchronization, as
    nice as it would be.. All I really need is the ability to call a
    Java method, and get an object back, which I can then work with in
    Flex.
    I see the forum message that asks
    "How
    do I 'do' Flash for free?, but this only talks about RPC very
    broadly. Given that the message is from over a year ago, I thought
    it would be better form to start a new topic, than replying to it.
    Can someone explain to me what components I'd need, both on
    the client side and the server side?
    Is there a set of manuals that explain how to do Flex RPC
    from Java?
    Can Flex compile to any versions of flash earlier than 9?
    (Flash 6/7 is still in wide deployment)
    Do I want to start using Flex 2, or Flex 3? Are the
    components compatible? Will the F3 docs be ready?
    Finally, where can I purchase the Charting components? The
    ability to create charts such as
    this
    overcome a decent price barrier.
    Thank you for any insight you can offer, and direction you
    can provide.

    quote:
    Originally posted by:
    cunparis2day
    On our project they made a proxy in java where they passed in
    the name of the method as a string, and an array of objects for the
    parameters. The proxy then sent the request via RMI and returned
    the result. Kind of a hack but they say it worked (I wasn't here
    when they did it).
    What did the RMI talk to? Are there docs on this?
    quote:
    Another approach, generate the proxy from the java
    interfaces. Or better yet, generate it dynamically with CGLIB.
    quote:
    Finally, I'm investigating using Mule for the integration.
    Let me know what you think about those suggestions.
    We have our own messages, but how would MULE translate them
    to Flex?
    You know quite a bit more about this, can you take a step
    back, and explain?

  • Researching to use Blazeds with spring. I can use blazeds with flex builder 3.

    I would like to know, If i can use balzeds 4 with flex builder 3.
    I have all my applications on flex builder 3 with web services.
    Trying to convert to blazeds with spring.

    Yes, it is very much possible. I have done the integration, please check the steps in my post.
    http://sixtyfourarts.blogspot.com/2009/05/gae-integration-with-blazeds-in-eclipse.html

  • Getting started with flex and Eclipse 3.1?

    Hi all,
    Im a java Eclipse RCP developer and I wanted to work on some small apps using flex.
    I have been searching around on the web for instructions on how to get everything set up, but most of them seem to skip a  few steps.
    I am using Eclipse ganymede (3.1), and have downloaded the flex sdk.  Is there a plugin or something for flex that creates the proper perspectives in eclipse?  Or what exactly do I need to do?
    Also, I see that flex uses mxml, if I want to use flex and java as opposed to flex and php or coldfusion (the only examples I saw) is that possible?  I guess Im slightly confused as to what exactly I am writing this app in... java?  Actionscript?  Php? ??
    Basically my goal is this:
    Use eclipse 3.1 (not flex builder)
    Write an RIA that can also use AIR
    Connect to a MySQL database on the backend
    I have very little experience (or need) for J2EE, but maybe I should use it?
    Can anyone point me to a good tutorial that will get me going to achieve my goal?  Or tell me what exactly I need to install, and how to put it together?
    Thank you!

    You need Flex Builder plugin version.
    Trial version here:
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexbuilder3

  • I can't compile for iOS anymore with Flex and AIR 3.8

    Hi Adobe team and others,
    I'm using Apache 4.10 Flex framework and adobe Air 3.8 for my business projects.
    I always had some problems to compile and publish iOS application (with Air 3.5 before), but with AIR 3.8, that was a miracle, I could compile my projects without any errors on Windows ... until today.
    I'm executing this command in DOS to compile my project:
    "C:\Program Files\Java\jre7\bin\java.exe" -jar "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.10 - AIR 3.8\lib\adt.jar" -package -target ipa-app-store -hideAneLibSymbols no -provisioning-profile "S:\Directory_to_MobileProvision.mobileprovision" -storetype pkcs12 -keystore "S:\Directory_to_Certificats_ios.p12" -storepass my_private_password Proginov_FVTE_V45.ipa Proginov_FVTE_V45-app.xml assets com config_app.xml [email protected] Proginov_FVTE_V45.swf -extdir "S:/Directory_to_ANE/air_3.8_pnv_3.00"
    And I'm getting this result after 1 hour compiling:
    If you want, I can send you my bin-release-temp folder and ANE to try by yourself, but I need a private mail, because I don't want to publish my private project to everyone.
    Thanks

    Thank you a lot.
    I remember I tried this with AIR 3.5, and that didn't work.
    But with AIR 3.8, it's OK.
    Perfect

  • Issue with $FLEX$ and populating dates.

    Hello,
    I'm creating a custom report for a HR report. I have a requirement to enter a report type, if that report type <> 'DATE' then the parameters to enter dates are to be disabled. I when through the following steps.
    Steps:
    1. Define controlling parameter, XXRPT_TYPE
    2. Define parameter - P_HIDDEN_PARAM. As it's name suggests, this is a hidden parameter, which will not be visible when we submit the conc. program.
    Set it's Default Type as "SQL Statement " and
    Default value as - "select decode(:$FLEX$.XXRPT_TYPE,'DATE','Y',null) from dual".
    3.Define custom valueset, which will used for the date parameters - " Date From" and "Date To".
    a) Click on Edit Information and enter forllowing query in Table Name field.
    (SELECT (TO_DATE (SYSDATE - 200 + LEVEL, 'DD-MON-RRRR')) date_range FROM DUAL CONNECT BY LEVEL <= 1000)temp_tab
    I am using "CONNECT BY LEVEL" concept to produce dates with the range of 1000 days.
    You can modify 1000 to any other figure as per your requirement.
    b) Set Value Name as date_range, which is nothing but the alias name in the query above.
    c) I Entered following WHERE clause in Where/Order By field.
    WHERE :$FLEX$.AMS_SRS_CHAR50='DATE RANGE'
    When I run the concurrent program, the date field will disable if the report type will is on something other than Date Range, however when the report type is date range, I get an error (No Entries found for List of Values) If I comment the where clause then the date are displayed, but the disabling doesn't work. Does anyone have any ideas for me?

    not sure what do you want but
    >
    if that report type 'DATE' then the parameters to enter dates are to be disabled.
    >
    >
    1. Define controlling parameter, XXRPT_TYPE
    >
    >
    3.Define custom valueset, which will used for the date parameters - " Date From" and "Date To".
    >
    for each date parameters
    WHERE :$FLEX$.XXRPT_TYPE != 'DATE'

  • Problems with flex and php.

    Hello, my name is Gamaliel Arredondo, i have to develope a project in flash builder 4 using the data service to connect with php, the application has installed the zend framework automatically just like the tutorials said, I use xampp and i have the files in the htdoc location, all the path are correct but when i want to connect to my php classes i receive this message:
    Make sure that Zend Framework is installed correctly and  the parameter "amf.production" is not set to true in the amf_config.ini file  located in the project output folder.     /0/onResultÿÿÿÿ � Uflex.messaging.messages.AcknowledgeMessage correlationId clientId destination messageId timestamp timeToLive headers  body I797BFBCC-250A-A100-9954-68CD2AC82DF5 I2570DA6E-2F76-55E9-2249-000075B2C293  I590AA123-C3CE-5F48-6A94-00002F9B370A  126571301000      ‡G
    I have searched on internet in order to find a solution but i haven't found anything that can help me, so i would like to receive some of help, my email is [email protected], if you can help me i will thank you so much, have a nice day.

    Hello, I am Gamaliel Arredondo, i have solved this problem, the error is in the code, you have a mistake in your code, check it out.
    The way to run the flex applications, in my case, i installed xampp, in the htdoc directory i put the folder with the files of the application and all is working very well, only when the apache is running because if it is stoped the application show error, please review your code and if you have problems you can contact me by e-mail ([email protected]) i also fought with that problem but i could find the solution, i hope to help you.

  • Help with Flex and DropDownList

    Hello everybody, i need another help
    i'm triyng to do the next in flex: using DropDownListi and Mysql DB, I want select to a product from a DropDownList after i select a corresponding brand for example:
    * Coca Cola
      -- Coca Cola Light
      -- Coca Cola Zero
      -- Coca Cola Regular
    * Pepsi
      -- Pepsi Light
      -- Pepsi regular
    those are products that i have on my DB, i get see on my first DropDownList all brand's but i can select any product, because i don't know how made that relation between DropDownList's, here is my code, can any body help me? PLEASE ????
    <?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="500" minHeight="600" backgroundColor="#F4BE55"
                      xmlns:employeeservice="services.employeeservice.*">
         <fx:Style source="Prueba8.css"/>
         <fx:Script>
              <![CDATA[
                   import com.adobe.serializers.utility.TypeUtility;
                   import mx.controls.Alert;
                   import mx.controls.Text;
                   import mx.events.FlexEvent;
                   import mx.rpc.events.ResultEvent;
                   import spark.events.IndexChangeEvent;
                   protected function marDr_creationCompleteHandler(event:FlexEvent):void
                        getMarcaResult.token = employeeService.getMarca();
                   protected function proDp_creationCompleteHandler(event:FlexEvent):void
                        getProductoByMarcaResult.token = employeeService.getProductoByMarca('Pep');
              ]]>
         </fx:Script>
         <fx:Declarations>
              <s:CallResponder id="getMarcaResult"/>
              <employeeservice:EmployeeService id="employeeService"
              fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                     showBusyCursor="true"/>
              <s:CallResponder id="getProductoByMarcaResult"/>
         </fx:Declarations>
         <s:Label x="137" y="10" text="Prueba 1  -  Ejemplos" fontWeight="bold" fontSize="20"/>
         <s:DropDownList x="99" y="97" prompt="Selecciona Marca ..."
                             width="169" id="marDr"
                             creationComplete="marDr_creationCompleteHandler(event)"
                             labelField="marca"
                             cornerRadius="7"
                             borderColor="#BC660A"
                             chromeColor="#C76F20"
                             focusColor="#AA7A06"
                             selectionColor="#DFA055"
                             rollOverColor="#FFAB3E">
              <s:AsyncListView list="{getMarcaResult.lastResult}"/>
         </s:DropDownList>
         <s:DropDownList x="65" y="247" prompt="Seleccione el producto ..."
                             id="proDp" width="205"
                             creationComplete="proDp_creationCompleteHandler(event)"
                             labelField="ds_producto">
              <s:AsyncListView list="{TypeUtility.convertToCollection(getProductoByMarcaResult.lastResult)}"/>
         </s:DropDownList>
    </s:Application>
    and this is my service
    <?php
    class EmployeeService {
      var $username = "test";
      var $password = "12345";
      var $server = "192.168.0.194";
      var $port = "3306";
      var $databasename = "proyect";
      var $connection;
      public function __construct() {
        $this->connection = mysqli_connect(
                           $this->server, 
                           $this->username, 
                           $this->password,
                           $this->databasename,
                           $this->port
        $this->throwExceptionOnError($this->connection);
      public function getMarca() {
         $stmt = mysqli_prepare($this->connection,
              "select co_marca,
                      no_marca
               from cmm_d_marca");    
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          $rows = array();
          mysqli_stmt_bind_result($stmt, $row->cod, $row->marca);
          while (mysqli_stmt_fetch($stmt)) {
              $rows[] = $row;
              $row = new stdClass();
              mysqli_stmt_bind_result($stmt,  $row->cod, $row->marca);
          mysqli_stmt_free_result($stmt);
          mysqli_close($this->connection);
          return $rows;
      public function getProductoByMarca($searchStr) {
         $stmt = mysqli_prepare($this->connection,
              "select id_producto,
                      co_marca,
                      ds_producto
              from cmm_f_producto
              where co_marca like ?");
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 's', $searchStr);
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          $rows = array();
          mysqli_stmt_bind_result($stmt, $row->id_producto, $row->co_marca,
                                  $row->ds_producto);
          while (mysqli_stmt_fetch($stmt)) {
              $rows[] = $row;
              $row = new stdClass();
              mysqli_stmt_bind_result($stmt, $row->id_producto, $row->co_marca,
                                  $row->ds_producto);
          mysqli_stmt_free_result($stmt);
          mysqli_close($this->connection);
          return $rows;
    ?>
    Please somebody help me i need a solution a soon as possible please . thank's.
    Juedvaga

    Hello evrybody, look I upload my project and i need help.
    all that i want is made dependents-->   combobox or dorpdownlist.
    there are 2 links into megaupload:
    Project : http://www.megaupload.com/?d=X6V25N8O
    DataBase : http://www.megaupload.com/?d=T6TLI3OL
    Please i need help this i have to finish this point to start with another point.

Maybe you are looking for

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All, As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the who

  • Api POI read and replace my word document with java

    Hi Everyone I�d like to know if someone has a piece of code reading a word document with api POI to send me? I need read replace the word document wiht java j2ee. Thanks

  • Have iTouch 5th won't restore to new mac, not enough storage

    Bought a new Macbook with retina display - have an iTouch 5th gen.  EVERYTHING on iTouch is the most current, Music, photos, apps (like Bento).  I did make a backup.  Synched okay but info on iTouch is more current.  No music transferred from iTouch

  • Printiing 4 line address labels from mac address book

    I'm entering a contact nname and companny name followed by street address and state, bbut can't get alll 4 lines to print. Any solutions?Michael

  • MacBook desktop not responding

    I am unable to select anything on the MacBook desktop. The mouse is not frozen but clicking it does nothing. I think user accounts got changed somehow. How do I fix this without losing files? Thanks.