Loadvars Undefined?

I’m having a few problems with some actionscript.
Basically when I test the SWF file without it being embedded in an
HTML file (just by testing it in Flash itself) it formats the
number perfectly. However when I place the file in an HTML page it
returns an ‘undefined’ response to the variable I am
getting from a remote server.
The actionscript is all placed in the first frame of the
movie. And is as follows:
function writePledges() {
txtPledges.text=container.TotalPledges;
function writePledgesXX(){
var iPledges=parseInt(container.TotalPledges);
if (iPledges==null || isNaN(iPledges)) {
txtPledges.text="0";
else {
txtPledges.text=iPledges;
if (iPledges>=2000 && iPledges<3000) {
gotoAndPlay("num2000");
if (iPledges>=3000 && iPledges<4000) {
gotoAndPlay("num3000");
if (iPledges>=4000 && iPledges<5000) {
gotoAndPlay("num4000");
if (iPledges>=5000 && iPledges<6000) {
gotoAndPlay("num5000");
if (iPledges>=6000 && iPledges<7000) {
gotoAndPlay("num6000");
if (iPledges>=7000 && iPledges<8000) {
gotoAndPlay("num7000");
if (iPledges>=8000 && iPledges<9000) {
gotoAndPlay("num8000");
if (iPledges>=9000 && iPledges<10000) {
gotoAndPlay("num9000");
if (iPledges>=10000) {
gotoAndPlay("num10000");
var container:LoadVars = new LoadVars();
container.load("
http://arieluk.ariel.info:3037/cgibin/nautilus/nautiluspledge.pl?GetTotal=true");
container.onLoad = writePledges;
The SWF will be hosted at a different place to where it will
be getting the variable.
Any help would be great. Thanks.
Marco
Text

I’m having a few problems with some actionscript.
Basically when I test the SWF file without it being embedded in an
HTML file (just by testing it in Flash itself) it formats the
number perfectly. However when I place the file in an HTML page it
returns an ‘undefined’ response to the variable I am
getting from a remote server.
The actionscript is all placed in the first frame of the
movie. And is as follows:
function writePledges() {
txtPledges.text=container.TotalPledges;
function writePledgesXX(){
var iPledges=parseInt(container.TotalPledges);
if (iPledges==null || isNaN(iPledges)) {
txtPledges.text="0";
else {
txtPledges.text=iPledges;
if (iPledges>=2000 && iPledges<3000) {
gotoAndPlay("num2000");
if (iPledges>=3000 && iPledges<4000) {
gotoAndPlay("num3000");
if (iPledges>=4000 && iPledges<5000) {
gotoAndPlay("num4000");
if (iPledges>=5000 && iPledges<6000) {
gotoAndPlay("num5000");
if (iPledges>=6000 && iPledges<7000) {
gotoAndPlay("num6000");
if (iPledges>=7000 && iPledges<8000) {
gotoAndPlay("num7000");
if (iPledges>=8000 && iPledges<9000) {
gotoAndPlay("num8000");
if (iPledges>=9000 && iPledges<10000) {
gotoAndPlay("num9000");
if (iPledges>=10000) {
gotoAndPlay("num10000");
var container:LoadVars = new LoadVars();
container.load("
http://arieluk.ariel.info:3037/cgibin/nautilus/nautiluspledge.pl?GetTotal=true");
container.onLoad = writePledges;
The SWF will be hosted at a different place to where it will
be getting the variable.
Any help would be great. Thanks.
Marco
Text

Similar Messages

  • LoadVars always undefined when viewing uploaded movie

    Hello,
    I created a flash movie that has a "Contact us" form, that
    sends name, email, phone number and comments to an ASP.NET web page
    that acts as an email relay. If it is able to contact the ASP page,
    then it displays a "success" message. If it is unable to contact
    the server or if the ASP page returns an error, then it displays an
    "error" message.
    When I test the movie on my computer (be it directly from
    Flash or from a webpage in my hard drive) it does what it's
    supposed to do: send the contact info to the webserver and then
    display a "success" or "error" message, but when I upload the movie
    to a server (even a local server) it always returns "undefined". I
    have already tested it on 4 different servers (including the local
    server) and it always behaves the same.
    What am I missing that causes this behavior?
    Thank you for any help that you may provide.

    1. Place last
    email.sendAndLoad('
    http://www.promocasa.com.mx/tools/formaCorreo.aspx',
    emailResponse, "GET");
    You have a potential timing issue where emailResponse.onLoad
    =
    function(success:Boolean) is not assigned before the response
    is registered.
    something = function is a run time assignment and needs to be
    processed
    before it has potential to be used.
    2. Did you try "POST" instead of "GET"?
    3. Is Flash Movie on the same domain as www.promocasa.com.mx.
    If not you
    need a crossdomain.xml file.
    4. Try a very basic Flash movie that simply sends and
    receives some static
    data from your server.
    5. Add some traces to the emailResponse.onLoad
    trace ("emailResponse.onLoad - succes:"+success);
    6. Be sure you do not have a cached old version of the Flash
    movie in your
    web browser. A quick way is to rename it temporarily and
    upload.
    7. Not sure about your scoping since it works locally, but
    for a test define
    var email:LoadVars = new LoadVars();
    var emailResponse:LoadVars = new LoadVars(); on the timeline
    and comment
    inside the on(click)
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "saldillo" <[email protected]> wrote in
    message
    news:[email protected]...
    > Yup, I already did that.
    >
    > I created a basic HTML page that has a bunch of hidden
    fields that
    > represent
    > the data being sent by the flash movie. I uploaded it to
    the same server
    > where
    > I uploaded the SWF to see if it had anything to do with
    the server but
    > alas,
    > when I press the submit button on the HTML page it shows
    the OK message
    > that is
    > being sent by the ASP page, and I received the email
    just fine.
    >
    > I never receive the email when I press the submit button
    on my uploaded
    > SWF
    > movie, which leads me to believe that the ASP page is
    not receiving the
    > information.
    >
    > I'm attaching my AS code, I forgot to do so in my
    original posting.
    >
    > Thank you for your replies.
    >
    >
    >
    > on (click) {
    > var email:LoadVars = new LoadVars();
    > var emailResponse:LoadVars = new LoadVars();
    >
    > // This is the data that the user entered in the contact
    form.
    > email.txtNombre = _parent.txtNombre.text;
    > email.txtEmail = _parent.txtEmail.text;
    > email.txtTelefono = _parent.txtTelefono.text;
    > email.txtComentarios = _parent.txtComentarios.text;
    >
    > // My ASP page should work for any SWF movie so I put
    this here for each
    > movie that
    > // sends data to the server. Once I get this working the
    way it
    > should, I'll load the info from a text file to
    > // avoid hard coding it in the movie.
    > email.txtEmailReceptor =
    "[email protected]"; // Who should
    > receive the email
    > email.txtEmailEmisor =
    "[email protected]";
    > email.txtDesarrollo = "Barcelona Residencial"; // What
    webpage
    > originated
    > this request
    > email.txtAsunto = "BARCELONA: Forma de contacto del
    sitio web Barcelona
    > Residencial"; //Subject
    > email.txtMensaje = "Se ha recibido una petici?n de
    informaci?n del sitio
    > web
    > Barcelona Residencial."; //
    > email.sendAndLoad('
    http://www.promocasa.com.mx/tools/formaCorreo.aspx',
    > emailResponse,
    > "GET");
    >
    > emailResponse.onLoad = function(success:Boolean) {
    > var strSuccess:String = "?Gracias por tu inter?s! Uno de
    nuestros
    > asesores
    > recibi? tu petici?n y se pondr? en contacto para
    atenderte.";
    > var strError:String = "Lo sentimos. Hubo un error
    t?cnico al enviar tu
    > informaci?n. Por favor cont?ctanos por tel?fono para
    poder atenderte.
    > Disculpa
    > las molestias.";
    > var strMensaje:String = this.mensaje;
    >
    > if ( success) {
    > _parent.estado_txt.text = strMensaje; // Print the
    message to a
    > dynamic text field called "estado_txt"
    > _parent.nextFrame(); // This removes my input form and
    shows the
    > estado_txt field.
    > }
    > /*
    > if ("OK" == strMensaje.substr(0,2) )
    > _parent.estado_txt.text = strSuccess;
    > else
    > _parent.estado_txt.text = strError;
    >
    > _parent.nextFrame();
    > */
    > };
    > }
    >

  • Output Displays "Undefined"....  Help

    Hello All,
    I have posted here quite a bit for help before and I have received vast amounts of help.  Thanks in advance to anyone who can help with this.  I have some code that is returning "Undefined" in the output when I click the submit button.  I have a variable named "score" and the button is named "submit_btn". If you have any questions or need more info, feel free to ask.
    var scores_lv = new LoadVars();
    function showHighScores(success) {
    if (success) {
      gotoAndStop(13);
    submit_btn.onRelease = function() {
    if (name_txt.text != '')
      submit_btn.enabled = false;
      trace(score);
      scores_lv.name  = name_txt.text;
      scores_lv.score = score;
      scores_lv.onLoad = showHighScores;
      scores_lv.sendAndLoad('scores.php',scores_lv);

    If you visit the link below it provides information on how to use LoadVars that you can compare to what you have, and includes PHP example code that you might find useful to compare as well.
    http://www.sephiroth.it/tutorials/flashPHP/loadVars/page02.php

  • What class needs to be imported when you use loadVars?

    Does anyone know what class you need to import to get this
    working?
    var my_lv:LoadVars = new LoadVars();
    my_lv.onData = function(src:String) {
    if (src == undefined) {
    trace("Error loading content.");
    return;
    content_ta.text = src;
    my_lv.load("content.txt", my_lv, "GET");

    Thanks, i noticed it.
    But now i wrote a class for it, but why can't i run a
    function after the text is loaded?
    It seems it never run's the function doSomething.
    Am i doing Something wrong?

  • LoadVars and listener functions

    Hi all...I posted yesterday with some trouble getting
    loadvariables to work. I have since changes the code to use the
    LoadVars class instead but I am still have the same issue as
    before. The request for variables from the server does not complete
    and the values do not get set before the variables need to be used.
    I have a simple flash movie with 1 input text box (name_txt),
    1 button (Submit) and 1 dynamic text box (lblOutput).
    I have a simple script on the button:
    on (release) {
    //loadVariables("dev.aspx?foo=" + name_txt.text, "POST");
    newVars = new LoadVars();
    newVars.load("dev.aspx?foo="+_level0.name_txt.text);
    //This line just visually shows me that the script makes it
    this far
    _level0.lblOutput.text += "This is hard coded
    text.<br>";
    _level0.lblOutput.text += newVars.retVal;
    I have a very simple asp page that returns the value:
    'Format the response
    Response.ContentType = "application/x-www-form-urlencoded"
    'Create a string and
    Dim foo As String = "&retVal=" &
    Request.QueryString("foo") & " - This is from the ASP
    Page.<br>"
    Trace.Warn(foo.ToString)
    Response.Write(foo.ToString)
    Response.End()
    When I load the Flash movie and type the word "test" into the
    input field and click submit...I can see that Flash sends the
    variable to the asp page by checking the asp trace information. The
    value comes into asp just fine but, as I understand it, I need some
    sort of listener function to force Flash to wait for the
    transaction to complete before trying to load the use the variable
    values.
    Could someone please explain how I can add this listener
    functionality to the script above? Many thanks!!

    You need a stop() on the frame doing the load and onLoad.
    Then in the onLoad
    you move to the next frame. Other approaches include hiding
    the UI and in
    the onLoad, revealing the UI such as a MovieClip cover is
    made invisible.
    Declare the results LoadVars object on the timeline outside
    of a function
    and it is accessible for the entire movie at all levels.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "nagromme" <[email protected]> wrote in
    message
    news:e4fpvm$qmq$[email protected]..
    I'm using LoadVars in Frame 1, and I need to use the
    resulting variables in
    other scripts afterwards. (But all the examples I find online
    only use the
    variables right in the same script.)
    The problem I'm having is, the onLoad function doesn't
    actually make it
    wait.
    It goes ahead to the next frame whether fully loaded or not.
    It depends on
    the
    connection at the moment--if the vars haven't fully loaded,
    hilarity ensues.
    <b>My script in Frame 1:</b>
    _root.myloadvars = new LoadVars();
    _root.myloadvars.load("datapairs.txt");
    _root.myloadvars.onLoad = function(success) {
    if (success) {
    //trace("TXT RETRIEVED");
    gotoAndPlay(2);
    } else {
    trace("TXT NOT RETRIEVED");
    gotoAndPlay(1);
    <b>It's SUPPOSED to hold in Frame 1 until ready to
    proceed and make use of
    the
    variables in Farme 2.
    Things I have tried:</b>
    * Moving the above to Frame 2, so the "not retrieved" loop
    actually has two
    frames to cycle (back to 1, then forward to 2 where the
    script it).
    * Adding an additional gotoAndPlay(1) BELOW the above.
    But regardless, it never goes back to Frame 1, it always
    goes forward. It
    reports success, but half the time the variables (or some of
    them) are still
    Undefined.
    What's the RIGHT way to wait in a frame for LoadVars, and
    then let other
    scripts use the variables afterwards?
    <b>Many thanks for any advice!</b>
    (PS, this is Flash MX--I'm waiting for Universal Binary
    before I upgrade.)

  • Quirky LoadVars won't let me set Send variables in function

    So, my last host died at the beginning of the month and I
    just got everything migrated to a new host. I was trying to get
    back to work on this Flash project that logins via PHP to a mySQL
    database. The login script stopped working. I have discovered that
    _global.getcards.THISVARIABLE will not let me set THISVARIABLE, but
    this only happens from the login function. I can write a test
    function with copy/pasted code from the broken one and it will
    work. I am pretty sure this function worked before. If I copy/paste
    the whole function it breaks again, but the set data is at the
    beginning of the function, so I don't understand how that could
    change it. . .
    Here's the code that calls the script from the login button:
    quote:
    on (release, keyPress "<Enter>") {
    else if (emailbox.length>0 &&
    passwordbox.length>0) {
    if (scriptbox.length>0){
    janeticookie.data.script = scriptbox.text;
    calledFromLoginButton = true;
    PHPgetCards();
    And the beginning of the PHPgetCards function:
    quote:
    function PHPgetCards(s){
    //declare variables
    if (s == undefined)
    _global.getcards.SCRIPT = janeticookie.data.script;
    else if (s != "NULL")
    _global.getcards.SCRIPT = s;
    _global.getcards.sendAndLoad('
    http://mysite.com/getcards.php',
    _global.getcards, 'GET');
    _global.getcards.onLoad = function (success){
    if (success){
    If I trace _global.getcards.SCRIPT and
    janeticookie.data.script, janeticookie (a shared object) works, but
    getcards (a LoadVars) comes back undefined. If I make a test
    function
    quote:
    function testme(){
    _global.getcards.user_email = janeticookie.data.email;
    _global.getcards.user_password = janeticookie.data.password;
    trace(_global.getcards.user_email);
    trace(_global.janeticookie.data.email);
    and call it right before PHPgetCards in the
    login script, it traces properly. Any idea what's going on? Here
    are my variable declarations from the frame the login button occurs
    on:
    quote:
    #include "copyright.as"
    #include "md5.as"
    #include "LphpAS.as" //the PHPgetCards function
    include "test.as" //the testme() function
    import it.sephiroth.Serializer;
    _global.serial = new Serializer();
    _global.getcards = new LoadVars();
    _global.newscript = new LoadVars ();
    _global.savescript = new LoadVars ();
    _global.janeticookie = SharedObject.getLocal("janeticookie");
    Thanks much!

    So I just got back from a long weekend and I found the
    problem. Here is the code at the end of the function that handles
    how it exits (I faked indentation with backticks cause this forum
    deletes tabs):
    quote:
    if(calledFromLoginButton == true){
    ` calledFromLoginButton = false;
    ` if(scriptcookie.data.user == undefined)
    ``` _root.gotoAndPlay('badlogin');
    ` if(scriptcookie.data.user != undefined)
    ``` _root.gotoAndStop('makePanels');
    }else if (calledFromTransition == true){
    ` trace("open");
    ` calledFromTransition = false;
    ` updateBigPanel();
    ` updatePanels();
    ` //_parent.play();
    } else{
    ` updateBigPanel();
    ` updatePanels();
    The commented _parent.play() breaks it. I don't understand
    why, because calledFromTransition is not true and based on the
    trace that code snippet is not being invoked by this function call
    (calledFromTransition is used in a later call). Can someone please
    explain why?
    Thanks!

  • Problem accessing data from LoadVars

    Hello All,
    I posted a similar topic a little while ago, the problem was
    solved.... but I've decided to go back and rework my code because
    it was a mess and I needed to simplify it. Of course, now when I
    try to do a basic LoadVars(); I run into problems. I'm loading a
    single variable text file, and I want to be able to access the
    results outside the onLoad afterwards. The trace file inside my
    onLoad event handler returns what I expect, but my trace at the end
    returns an empty string (as defined in my variable declaration)
    instead of the variable from my text file.
    Is there a way I can access this data outside the onLoad
    handler? and then return it from my loadWords function?
    Thanks,
    ScottieBitter

    Maybe this way would work ( if you don't mind declaring
    "myRawWordList" on the root ).
    ////CODE////
    var test_str:String = "";
    function loadWords():String {
    //var myRawWordList:String = "rabbitBiscuit";//this resets it
    to: "rabbitBiscuit " evertime it's called.
    //you might take it out, unless that's wat you wanted.
    myWordLoader = new LoadVars();
    myWordLoader.onLoad = function(success:Boolean) {
    if (success) {
    myRawWordList = this.myTextFileVar;
    }//end if
    }//end onLoad
    myWordLoader.load("words.txt");
    return myRawWordList;
    }//end function
    this.onEnterFrame = function(){
    test_str = loadWords( );
    if( test_str != "" and test_str != undefined ){
    trace( "loadWords: " + test_str + " What's on the _root now:
    " + _root.myRawWordList );
    delete onEnterFrame;
    }//end if
    }//end function
    ////END CODE////

  • LoadVars and onLoad question

    I'm using LoadVars in Frame 1, and I need to use the
    resulting variables in other scripts afterwards. (But all the
    examples I find online only use the variables right in the same
    script.)
    The problem I'm having is, the onLoad function doesn't
    actually make it wait. It goes ahead to the next frame whether
    fully loaded or not. It depends on the connection at the moment--if
    the vars haven't fully loaded, hilarity ensues.
    My script in Frame 1:
    _root.myloadvars = new LoadVars();
    _root.myloadvars.load("datapairs.txt");
    _root.myloadvars.onLoad = function(success) {
    if (success) {
    //trace("TXT RETRIEVED");
    gotoAndPlay(2);
    } else {
    trace("TXT NOT RETRIEVED");
    gotoAndPlay(1);
    It's SUPPOSED to hold in Frame 1 until ready to proceed and make
    use of the variables in Farme 2.
    Things I have tried:
    * Moving the above to Frame 2, so the "not retrieved" loop
    actually has two frames to cycle (back to 1, then forward to 2
    where the script it).
    * Adding an additional gotoAndPlay(1) BELOW the above.
    But regardless, it never goes back to Frame 1, it always goes
    forward. It reports success, but half the time the variables (or
    some of them) are still Undefined.
    What's the RIGHT way to wait in a frame for LoadVars, and
    then let other scripts use the variables afterwards?
    Many thanks for any advice!
    (PS, this is Flash MX--I'm waiting for Universal Binary
    before I upgrade.)

    You need a stop() on the frame doing the load and onLoad.
    Then in the onLoad
    you move to the next frame. Other approaches include hiding
    the UI and in
    the onLoad, revealing the UI such as a MovieClip cover is
    made invisible.
    Declare the results LoadVars object on the timeline outside
    of a function
    and it is accessible for the entire movie at all levels.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "nagromme" <[email protected]> wrote in
    message
    news:e4fpvm$qmq$[email protected]..
    I'm using LoadVars in Frame 1, and I need to use the
    resulting variables in
    other scripts afterwards. (But all the examples I find online
    only use the
    variables right in the same script.)
    The problem I'm having is, the onLoad function doesn't
    actually make it
    wait.
    It goes ahead to the next frame whether fully loaded or not.
    It depends on
    the
    connection at the moment--if the vars haven't fully loaded,
    hilarity ensues.
    <b>My script in Frame 1:</b>
    _root.myloadvars = new LoadVars();
    _root.myloadvars.load("datapairs.txt");
    _root.myloadvars.onLoad = function(success) {
    if (success) {
    //trace("TXT RETRIEVED");
    gotoAndPlay(2);
    } else {
    trace("TXT NOT RETRIEVED");
    gotoAndPlay(1);
    <b>It's SUPPOSED to hold in Frame 1 until ready to
    proceed and make use of
    the
    variables in Farme 2.
    Things I have tried:</b>
    * Moving the above to Frame 2, so the "not retrieved" loop
    actually has two
    frames to cycle (back to 1, then forward to 2 where the
    script it).
    * Adding an additional gotoAndPlay(1) BELOW the above.
    But regardless, it never goes back to Frame 1, it always
    goes forward. It
    reports success, but half the time the variables (or some of
    them) are still
    Undefined.
    What's the RIGHT way to wait in a frame for LoadVars, and
    then let other
    scripts use the variables afterwards?
    <b>Many thanks for any advice!</b>
    (PS, this is Flash MX--I'm waiting for Universal Binary
    before I upgrade.)

  • LoadVars -- want to access mc without _root

    Below is the code I''m using. In a nutshell, I'm trying to
    load some HTML text from a php page. I want to divide the text into
    a number of textfields which are inside a movieclip called
    articles_panel. I can access articles_panel if I use
    _root.articles_panel, but since I might insert this SWF into
    another movie I'm trying to avoid using _root. However _parent
    doesn't work. How can I access the textfields inside this movie
    clip?
    var article_news_raw:LoadVars = new LoadVars();
    article_news_raw.onData = function(src:String):Void {
    if (src != undefined) {
    article_array = src.split(",,");
    //CREATE Array of Textboxes
    //var article_array:Array = ["testing one", "testing two",
    "testing three"];
    for (i in article_array) {
    var article_name = "article_"+i;
    _root.articles_panel.createTextField(article_name,
    _root.articles_panel.getNextHighestDepth(), 300+(150*i), 230, 150,
    300);
    _root.articles_panel[article_name].border = true;
    _root.articles_panel[article_name].multiline = true;
    _root.articles_panel[article_name].wordWrap = true;
    _root.articles_panel[article_name].html = true;
    _root.articles_panel[article_name].text = article_array
    else {
    my_txt.text = "Unable to load external file.";

    sorry nah not off the top of my head - although i use help
    all the time i don't think i've seen this technique. i have seen it
    other folk's code though. just today even!
    https://service.breezecentral.com/devnet/flashmediaserver/articles/on_demand_player_print .html
    in the NetConnection object rather than the loadVariables
    object though.
    it's basically because only movieclips and objects that
    extend movieclips(and buttons to an extent) have a this property
    that refers to it's location in the movieclip hierarchy. If you
    want an object such as loadVariables to know where it was defined
    in the hierarchy you have to tell it. (by setting a variable called
    'owner' for example). You are then able to access this variable
    from within any event handlers for this object.

  • Loadvars problem - wrong player's configuration?

    I have a serious problem, i'm using loadvars for my flash
    site, but i get always undefined value.
    I tryed to check a online WORKING site, and surprise, i don't
    see the dinamic text. I also re-check the site with my home pc and
    it's full working...
    I think it's a possible configuration problem with player, i
    tryed to update and re-install.. but with no result.
    sorry for my bad english.

    lollotek wrote:
    > I have a serious problem, i'm using loadvars for my
    flash site, but i get
    > always undefined value.
    > I tryed to check a online WORKING site, and surprise, i
    don't see the dinamic
    > text. I also re-check the site with my home pc and it's
    full working...
    > I think it's a possible configuration problem with
    player, i tryed to update
    > and re-install.. but with no result.
    There is no any configuration in flash player. Pretty much
    flash versions and
    that's about it.
    Could be that you place the SWF in html using
    img/folder/name.swf ?
    Any URL to see it ?
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Error while deploying a composite  (Message part "body" is undefined)

    Hi All,
    I am trying to deploy a composite but i am getting the following error.
    Buildfile: C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite "C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml"
    [scac] /C:/JDeveloper/mywork/Sample/SampleDequeueBPEL/Outputftp.wsdl: error: Message part "body" is undefined [element = EmpCollection
         [scac] Setting BPELC option 'classpath' to C:\Oracle\MiddlewareJdev\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\commonj.sdo_2.1.0.jar;C:\Oracle\MiddlewareJdev\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.web-common_11.1.1.jar;;C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes
    [scac] C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml:21: error: SCAC-50012
    BUILD FAILED
    C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml:272: Java returned: 1 Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errors
    Total time: 4 seconds
    This is an integration from Dequeue to FTP . Dequeue have a payload of message type which is transformed to Ftp message type. Below is the wsdl file where i am getting error
    <wsdl:definitions
         name="Outputftp"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
      <plt:partnerLinkType name="Put_plt" >
        <plt:role name="Put_role" >
          <plt:portType name="tns:Put_ptt" />
        </plt:role>
      </plt:partnerLinkType>
        <wsdl:types>
          <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
                  xmlns="http://www.w3.org/2001/XMLSchema" >
            <include schemaLocation="xsd/FileFTP.xsd" />
          </schema>
        </wsdl:types>
        <wsdl:message name="Put_msg">
            <wsdl:part name="body" element="EmpCollection"/>
        </wsdl:message>
        <wsdl:portType name="Put_ptt">
            <wsdl:operation name="Put">
                <wsdl:input message="tns:Put_msg"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>XSD of FTP:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="EmpCollection">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Emp" maxOccurs="unbounded" minOccurs="0">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element type="xs:string" name="name"/>
                                <xs:element type="xs:byte" name="id"/>
                                <xs:element type="xs:byte" name="dept"/>
                                <xs:element type="xs:string" name="address"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>Could someone help me on this. Thanks in advance.
    Thanks
    Gnanaprakasam R

    Gnanaprakasam ,
    Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errorsDid you managed to look into logs.
    Try to reconfigured the ftp adapter from scratch.
    I had ran into same error as yours what i did was, restarted the Jdeveloper and was able to compile !!
    Regards,
    Abhinav Gupta

  • Adobe Bridge CS6 undefined in not an object Help Please

    I am so sick and tired of getting this error message when I try to create a pdf contact sheet - undefined is not an object.  Can someone help me?
    What frustrates me the is there is no log file telling me what image has the problem which Bridge does not like.
    This example is of brand new eps files that were created in the last month
    I also have the same undefined object is not an object using AI files but none are shown in this example.
    If there is no solution to tell me what eps or ai file(s) bridge does not like - is there a setting I can change so Bridge skips the file it does not like?  Sorta silly skipping a file for a contact sheet but if that is a workaround to make it bridge work that would be a huge improvement versus the program not working at all, LOL...
    1. I have tried using another program to rename all my files to be sequential numbers too, so that is taking more time and I am losing the ability to find my files by name and I still get the undefined is not an object.
    2. I am to the point of using other programs to create jpeg images of AI and EPS files and then using bridge to make contact sheets and doing that takes a ton more time and is just silly to do so now I am to the point of asking for help. 
    3. Operating system is Wondows 7 - I use CS6 - Adobe Bridge for making contact sheets - screen shoot is attached - all CS6 items are up to date with updates.
    4. Yes, I have searched the internet for help and searched adobe for help --- seems like no one has posted a solution.

    I am having this same issue. I'm attempting to make a pdf in Bridge but am getting the error message "undefined is not an object." A log or a report of some kind would be very useful here to find out which object is the offender. Looking at my files they appear to be in order but obviously something is amiss....

  • Upgraded to Firefox 4 now can not access my inbox in email. Error message say I have undefined new mails in the inbox

    Downloaded update toi mFirewfox 4. ISP is Talktalk. Can open My mail and get to screen with inbox but page seems to stopp loading then as it doesa not show amount of space being used etc which it normally does. Instead message says 'You have undefined new mails in your inbox' Nothing then happens and the button to open the inbox does not work. Can however access my email and inbox through Outlook express. Contacted TalkTalk help line and after running some checks was told that the problem is with the browser. Canb anyone help solve this please.

    Me too, problem is being googled alot by other tiscali users also.

  • View attributes can not be retrieved. View instance not found or undefined

    Hi,
    I am creating a simple master detail OAF page. For this I have done following steps:
    1. Created ParentEO and ChildEO
    2. Created ParentVO with a transient attribute called "SelectFlag" with default value "Y" .
    3. Created ChildVO
    4. Created a UserViewLink.
    5. Created Application module (UserAM).
    6. New Page UserPG
    7. In the main region I have defined Application Module.
    8. Under the main region, I have created a new advanced table region with following properties:
    View Instance : ParentVO1
    Detail View Attribute : SelectFlag
    View Link Instance: UserViewLink.
    Now when I click to select the "Child View Attribute", it gives a pop up saying "View attributes can not be retrieved. View instance not found or undefined".
    Please help, I am not able to proceed on this.
    Thanks,
    Anupam

    Anupam,
    I do not see in your steps where you associated the VO with the AM. In order to select an attribute, the AM must have an instance of the VO associated with it. Double click the AM in the navigator. Click Data Model and shuttle the VO's you want to be available from the left to the right.
    Hope this helps.
    Kristofer

  • When I try to log on to my ichat I get the error message "An undefined AIM socket error has occurred.". How do I resolve this?

    The error message "An undefined AIM socket error has occurred." comes up when I try and log on to ichat.

    I have the same issue. Does anybody know why this has happened

Maybe you are looking for

  • Using an external hard drive for backup

    I admit to knowing nothing about this so I need someone's advice. The wiring for the backlight in my iBook fried 2 nights ago and I have to send it back to Apple..very expensive problem add to the fact that I did not extend my apple care OUCH!! Anywa

  • LibraryService.connect() method hangs

    I have a servlet application that uses IFS with Oracle IFS 9.0.1. I have a pool of LibrarySessions that are dynamically created and connected using LibraryService.connect() if a new LibrarySession is needed. Each LibrarySession uses the same login us

  • Comcast Can't Connect

    I moved from Verizon DSL and changed to Comcast. The tech spend 5 hours trying to get my internet working via direct Ethernet connect and via the Airport Express; neither worked. It did work on his PC hardwired but not via the Airport. It won't conne

  • Webi Reports

    one.jsp <html>    <body>           <!--           change the localhost and application directory as per your use           as per your use  method=post or method=get            -->            <form name=form1 action="http://localhost:8080/testingappl

  • Blog entries via email?

    Hi all, Anyone know if the new blog utility in iWeb/.mac will support adding entries via email from a handheld device such as a blackberry?