BlazeDS and Flex integration problems

Hi all.

I downloaded BlazeDS4 and installed on a windows server with tomcat.  I was then able to connect to this server and use the examples using this address - http://localhost: 8080 / I must note that this link is working also on remote computers by giving the IP correct instead of localhost.

So, I know that Blaze works very well.

But now I want to configure this with Flash Builder 4, so that I can try and create my own applications.

I'll "" file > new > Flex project ".

Then I select J2EE server technology and select "BlazeDS".

Now this is where I get stuck, I do not know what settings to

"Root file" "Root URL" 'root context '.

For example, if my server IP address is - 10.1.2.12:8400

Could someone talk through me what are the settings I should use? I get a message

Invalid root. The WEB-INF/flex folder must contain flex-config. XML or services - config.Xml.

If someone could help, I would be grateful!

Hello

When you build your application, it is normally hardcoded for your services, to work around this problem set you the channel dynamically in the application, for example when I did this video for you thing I was lazy, so instead of having the configuration in an xml file, a file that has been read from the server, the application extends to just but 2 values in the app and compiled for local and one who was far away.

protected function application1_creationCompleteHandler(event:FlexEvent):void

{

channelSet = new ChannelSet();

var channel: AMFChannel = new AMFChannel ("my-polling-amf","'http://localhost: 8080/blazeds/messagebroker/amfpolling"");

var channel: AMFChannel = new AMFChannel ("my-polling-amf",""http://ezflex.net:8080 / blazeds/messagebroker/amfpolling"");

channelSet.addChannel (channel);

myProducer.channelSet = channelSet;

myConsumer.channelSet = channelSet;

cueXML.send ();

myConsumer.subscribe ();

}

So basically, you can read an xml file with the url in there and use it as an url parameter in the channel.
David.

Tags: Flex

Similar Questions

  • OEM plug, Flex, BlazeDS, and Java

    We have an API for our product, and we are currently working to integrate the Oracle Enterprise Manager. The basic menu is:

    -Houses oracle Enterprise Manager on plug-in written in Flex with Oracle MpCui

    -Flex talk to Java through BlazeDS

    -Java talk to our API

    I have Oracle working with our Flex code. I also have our Flex code (no Oracle integration) talk to Java through BlazeDS and finally using our API. However, I can't understand how to put Flex BlazeDS talks about the plug in Oracle. I have the Java deployed on a Tomcat server on the same machine that OEM is installed.

    Any help/suggestions?

    Solved!

    It turns out that it was a problem with Tomcat. The Java JAR must be copied to {context.root}/WEB-INF/lib/.

  • Problem with DRM and the integration of the EBS

    Hello

    We are experiencing a problem and EBS integration are finished but the results do not appear.

    Please can someone help.

    Thank you.

    Please check the below id doc from Oracle.

    Concurrent workload with DRM to the EBS GL integration completed with errors (Doc ID 1643092.1).

    Thank you

    ~ KKT ~.

  • QML and C++ integration

    I have a problem with QML and C++ integration.

    I have second attached to hand qml (next to main.qml):

    attachedObjects: [
                 ComponentDefinition {
                        id: dataPage
                        source: "dataPage.qml"
                    }
                ]
    

    When the subject is raised in the listview, this page is pushed in navigationPane:

    onTriggered: {
             var selectedItem = dataModel.data(indexPath);
                 var page = dataPage.createObject();
                  page.name = selectedItem.title;
                  navigationPane.push(page);
                                }
    
    ApplicatonUI::ApplicationUI(bb::cascades::Application *app):QObject(app)...dataPageqml = QmlDocument::create("asset:///dataPage.qml").parent(qml);
    dataPageqml->setContextProperty("pageC", this);
    ...}
    
    void ApplicationUI::processChoice(){
         Page *page = dataPageqml->createRootObject();
         page->setProperty("label", "New text");
    }
    

    DataPage.qml I call onCreationCompleted to call the processChoice() function:

    Page {
        id: page
        onCreationCompleted: {
            pageC.processChoice();
        }
        property string name
        Container {
            WebView{
                horizontalAlignment: HorizontalAlignment.Fill
                minHeight: 700.0
                maxHeight: 700.0
    
            }
            Label{
                id: lb
                objectName: "label"
                text: page.name
            }
        }
    }
    

    In this case, I want to change the text in the label, but nothing happens.

    What I am doing wrong?

    Ty for answers.

    Change

    QML-> setContextProperty ("INAC", this);

    TO

    QmlDocument::defaultDeclarativeEngine()-> rootContext()-> setContextProperty ("INAC", this);

  • Captivate 8 - video integration problems. Video won't play Web server when published under the title of HTML5. When to play the video it works not embedded.

    Captivate 8 - video integration problems. Video won't play Web server when published under the title of course HTML5 and video is selected to play in the same screen. Play video it works only in a new window. The problem is the customer's requested integrated video and it shows as an option in Captivate 8. In addition, the video screen is not at the same place on the screen, the image moves to the top of the browser window in Internet Explorer. Graphics problems appear ONLY in IE and Chrome for PC. We have updated browsers, installed all updates to Captivate 8 etc.

    The issue seems to be with internet explore. The url is *.mp4, if IE browser opens Media player in a new window to read the files.

    Workaround solution:

    Instead of using the interaction of the Web object, you can use a Web object (objects-> Web) site in the menu object.

    After insertion, select the code incorporated in the style of the real property section. (Screenshot below)

    Encapsulate the url in an HTML video tag and use it as input.

    Input samples:

    https://{website-Address}/VIDEO1. MP4 type = "video/mp4" >

  • ColdFusion and Flex or just Coldfusion

    So an application I have puffiness worked for a few years with CF8 and Flex. It assigns tasks, appointmnts, rest, holiday of our operators. Operators open the app on their laptop or PC available. But we believe that this system is a little old and slow and we think that it needs more interaction with operators.

    An example of what we need. It would be nice if the operator can notify the application of changes in real time, so that another operator can be shipped for the backup. Operators also want their own space and communication channels.

    We want to make the system easier to use. If possible using Coldfusion only. With Ajax? I don't know if this is possible. Any ideas?

    In theory, almost everything you have done in Flex must be achievable using HTML5/CSS3/JavaScript and ColdFusion.  The performance gap between the integration of Flex/ColdFusion and JavaScript (AJAX) / ColdFusion is not nearly as wide as it was at the time when ColdFusion 8 is out.  Having said that, without knowing exactly what Flex functions you use it is difficult to answer with certainty.

    The ColdFusion upgrade to the current version (version 11) is expected to provide a performance increase.

  • Connection of InDesign and Flex - WYSIWYG!

    Guys,

    My client asked for a single application. He says that he should create a few files in indesign and those that should be rendered in Flex when requested by the end user. I'm completelu helpless on this requirement. It seems that Indesign can export in a format that can be read by Flex.

    The customer wants something like this: http://www.youtube.com/watch?v=ujshxYRKjBw

    Can someone tell me please in the right direction?

    Thanks in advance for your kind attention.

    There is no direct way to post a link between InDesign and Flex.

    It is possible to take data from an InDesign file and make it in Flex. In fact I've done it myself: http://printui.com/

    But, doing so basically requires making everything yourself, mapping of the functions of InDesign to those taken supported in Flex and send the contents of the document to the Flex application. Some better map than others and there is a LOT of problems to work. There is no easy way to go...

    Good luck!
    Substances

  • Flex SDK problem with stylemanager

    Hello

    I have a client component. Once it was developed for flex3.5. It uses the StyleManger class. Now, I want to use this component in flex 4.5 app. I used

    FlexGlobals instead of the StyleManager class. It works very well.

    My problem is, I want to use the same source for both applications (3.5 Flex and Flex 4.5). But StyleManger - FlexGlobals stop to do this.

    Any idea?

    You will just receive warnings in Flex 4.  It must always be running.

  • LCC and Flex 4.5

    Hello

    I'm about to start a new project, which will use the low-COST companies, and I am deciding what SDK should I use between 4.1 Flex and Flex 4.5. If I take the ACC for Flash Player 10.1 library (the last stable), is there a problem knowledge or incompatibilities if I use the most recent Flex 4.5, or is it better to use the older but more stable Flex 4.1?

    Thanks a lot for your help!

    Hi Oliver,.

    I've been using 4.5 with 10.1 SDK, and I did not face any questions. 4.1 & 4.5 work fine with LCC

    Thank you

    Arun

  • table behavior difference between php and flex?

    I think that this problem is probably caused by a difference in behavior of the table between php and flex I am not quite striking.  It's the flex code that I wrote and the php code is shown below.  I'm new to flex and this really left me speechless.    Thanks a lot for your help.

    The entries are father = [SB1, kit] dam [kit, kit] = sireLinkedP = E (P) and [e F]

    Output should be (and is with PHP) random = [E, P, SB1], [E, P, kit], [e, P, SB1], [e kit, P],

    What I get is random = [E, P, SB1, kit], [E, P, SB1, kit], [e, P, SB1, kit], [e, P, SB1, kit]

    function randomlinks(sire:Array,dam:Array,sireLinkedP:Array):Array {}

    var str:String [0] sire = .toUpperCase ();

    var str1:String sire [1] = .toUpperCase ();

    var str2:String dam [0] = .toUpperCase ();

    var str3:String dam [1] = .toUpperCase ();

    var x: uint = sireLinkedP.length;

    var k: uint = 0;

    var random: Array = new Array();

    x--;

    trace ("randomlinks sirelinked:" + sireLinkedP);

    for (var i: uint = 0; i < = x; i ++) {}

    for (var j: uint = 0; j < = 1; j ++) {}

    random [k] = sireLinkedP [i];

    trace ("random" + k + ":" + random [k]);

    If (str == [0] sire | str1 == sire [1] | str2 == dam [0] | str3 == dam [1]) {}

    random [k] .push (sire [j]);

         }//end if

    trace ("random" + k + ":" + random [k]);

         k++;

    } //end for loop

    } //end for loop

    trace ("randomlinks:" + random);

    return (random);

    { } //end randomlinks function

    function randomlinks ($sire, $dam, $sirelinked) {}

    $x = count ($sirelinked);

    $x--;

    $k = 0;

    for ($i = 0; $i < = $x; $i ++) {}

    for ($j = 0; $j < = 1; $j ++) {}

    $random [$k] = $sirelinked [$i];

    if (ctype_upper($sire[0]) | ctype_upper($sire[1]) | ctype_upper($dam[0]) | ctype_upper($dam[1])) {}

    array_push($random[$k],$sire[$j]) ;}

    $k++;

    }

    }

    Return ($Random);

    }

    You are right to make a copy. In Flex, the tables are references, if this assignment: random [k] = sireLinkedP [i] affects [k] random real behind sireLinkedP [i] matrix instead of a copy. Who is?

    -Kevin

  • FlexUnit 4, Flash Builder 4 and Flex SDK 4

    I'm trying to create a project using these in combination. When I created my Tester under 4 SDK, it lacks everything trying to initialize the test. I decided to build FlexUnit 4 with 4 SDK, but it doesn't seem to find the mx namespace.

    Is there a version of FlexUnit 4 built for 4 SDk? If this isn't the case, are there some rules for the conversion of a project so it can be built under 4 SDK.

    I know that Flash Builder 4 will build FlexUnit and rune TuirnKey FlexUnit tests if I leave it with SDK 3.2, but I'm looking forward to learning and using SDK 4.

    They FlexUnit 4 library can e compiled under the Flex 3 and Flex 4 SDK, work too well either.

    The error you see actually is realted to the rider of the user interface. If you use in your project, you will not have a problem. (With Flex4 technically unnecessary one because the results can be reported by the plugin FlexUnit in Report Designer)

    If you don't want a UI 4 Flex, there is a prototype in SVN

    http://opensource.Adobe.com/svn/opensource/FlexUnit/branches/4.x/FlexUnit4UIRunnerSpark/

    However, I'm sure that there are several bugs because it has not been updated in a month or two, it was just a POC.

    Mike

  • Load firefox 3.6.14 and now can't access the internet. Computer restored to the previous version works now. 3.6.14 I tried again and the same problem, any ideas?

    Using windows 7. As soon as the update of firefox, I can not access Internet. I tried Internet Explorer works well. I have restored the previous computer Firefox and it works fine. Tried the update again and the same problem can not access the internet.

    This is usually caused by a firewall blocking the new version of Firefox. For more information, see https://support.mozilla.com/kb/Cannot+connect+after+upgrading+Firefox

  • Performance on the Web access and the certificate problem arises

    Hello! I just bought a HP pro 8610 office jet and I'm trying to access the Scan function to access Web but performance is very slow and I just get a blank screen, no certificate appears.   I tried to do it in Chrome and Firefox.  Otherwise, the printer works fine.

    I accidentally entered a wrong email as beneficiaries on the address book and need to delete an entry via the Scan option in the Web.

    I'm on Windows 7 Edition home premium.

    Please advise, thank you!

    This has been resolved! Apparently the connection was slow for some reason any.  Just tried again this morning and the certificate that is presented and not more problems.  Thank you!

  • Re: Qosmio G30 and green screen problem

    Dear friends

    I thing is interesting for any owner of Qosmio to look at this:

    http://www.asklaptopfreak.com/laptop-notebook-help/2007/07/08/Toshiba-Qosmio-G30-screen-problem/comment-page-4/#comment-130784

    http://www.asklaptopfreak.com/laptop-notebook-help/2007/07/08/Toshiba-Qosmio-G30-screen-problem/

    My Qosmio G30 is already dead, I got an estimate from the official service, to repair my qosmio costs nearly 600 pounds. Is a design flaw. Go on the internet.

    Interesting links! Thank you.
    I have to say then I must be lucky. My Qosmio G30 (German model) works well and without any problems

  • Satellite A210-1AP - battery and power supply problem

    A few weeks ago I received my laptop (Satellite A210) reapair and the motherboard was changed.

    Since then, I got problem with the battery when it is inside and power cable is pluged.
    When the cable is in the laptop running on battery power I do not know why. Then when I turn it off battery led is lit Orange and the battery is charging.
    When the PC is turned on, the indicator light does not work and the battery becomes lower.

    So I wonder what the problem is.
    I read somewhere that this problem could solve the BIOS update.
    So anyone have experience like this.
    Also how is installed BIOS, I saw there is an installer for windows (so I guess it isn't hard).

    And somehow can back up old BIOS so I can go back if something bad happens.

    > A few weeks I got my laptop (Satellite A210) reapair and the motherboard was changed.
    > Since then, I had problem with the battery when it is inside and power cable is pluged.

    In my opinion, the technician has done something wrong
    The point is that this problem occurs after the exchange of motherboard and I think what this is about.

    Contact the ASP who repaired the laptop and explain your problem.
    I doubt that a BIOS update would solve this problem. I think it s a question an electrician

Maybe you are looking for

  • T61 - BSoD after the BIOS update attempt

    Hello everyone, I was trying to update my BIOS because I had problems with my hard-drive (enclosure) recognized by my laptop, and I thought it would solve the problem. Now, my biggest problem I have is a bluescreen set up after the failure of the att

  • How can I recover the xp installation cd without games

    I accidentally deleted xp games which is pre-installed so I n, have an installation cd, I tried to go into add/remove components and checked the boxes but without success. Help.

  • Cable PC intervention user for the login information for wireless router

    It doesn't look good as I am typing, but I have recently installed a RE1000, which seemed to work fine. Then, on 3 PC's with no wireless card installed, we started to be prompted for the user name and password for the wireless router. Once I unplugge

  • 10 XPS won't play CD/DVD

    I added an external CD/DVD drive to my tablet. Unfortunately I'm unable to play any of my CD/DVD. The drive is listed as E: drive so I know it is seen. There also load/installed the music I put in the DVD player. ALL media programs, I have tried to i

  • How can I get genuine return of Win7 after decommissioning of Win10?

    Last Sunday, I have Win7 upgrade to Win10. Of course my Win7 enabled Today, I downgrade Win7 Win10, for my work, but the system told me that this copy isn't genuine (even I have already produced ID, key product, all the rest) I tried to activate Wind