Skip to main content
Participant
April 3, 2010
Question

fms onLoad fails in one environment, but not another

  • April 3, 2010
  • 1 reply
  • 430 views

Totally stumped!

I have an application that was running at influxis, no problem. The server side script performs an XML sendAndLoad, and then calls the client based upon the xml response.

But then i installed my main.asc file into a different dev environment and the xml.sendAndLoad request totally fails. Using onHTTPStatus, I discovered that the error type is <100, with an error code of 0. According to Adobe, a 0 indicates that things were fine.

I then implemented the onData method as shown in the adobe docs, and 'src' is coming back as undefined.

The network engineer has confirmed that there are no network/firewall issues that would impact FMS talking to our application server, so FMS and the app server are free and clear to communicate with each other.

Is there some sort of other setting that needs to happen to allow FMS to send and receive data? Is there something else I'm missing here?

m

.onData = function(src) {

trace(">> " + this.httpStatusType + ": " + this.httpStatus);

if (src == undefined) {

trace("src == undefined. call onLoad(false) now. src = "+src);

this.onLoad(false);

} else {

trace("src != undefined. call onLoad(true) now. src = "+src);

this.parseXML(src);

this.loaded = true;

this.onLoad(true);

}

};

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    April 5, 2010

    I guess it may be due parsing error of xml file which you are using. Can you try with sample.xml given below :

    //sample.xml

    <Root>
    <UserList>
    </UserList>
    </Root>

    And then let me know all details as you told for the previous one.

    Regards,

    Amit