Hi Alex,

I checked the code, as I thought, it is text and parsed on the flex side without an error. Same request fails with royale.

I guess flex http service does not check the input. Below is the declaration of service in flex code.

<s:HTTPService id="appDataService"
                       method="POST"
                       showBusyCursor="true"
                       resultFormat="text"
                       result="getappinfo_resultHandler(event)"
                       fault="getappinfo_faultHandler(event)"
                       />

Should I convert parameter to an xml text, what you suggest ?

Thanks,
Serkan.

5.02.2019 08:47 tarihinde [email protected] yazdı:

I am going to check if it is valid or not, but I am sure that it is working with flex version.

Thanks,
Serkan

Alıntı Alex Harui <[email protected]>:

Is contentData valid XML?

From: Serkan Taş <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, January 31, 2019 at 12:08 PM
To: "[email protected]" <[email protected]>
Subject: Re: Work on Emulation


 Hi,

After pressing login button I am getting the error below:

[cid:[email protected]]

I guess, the response handler can not handle the response string => "1.0.0;Windows 10;STATE_WORKING"

Here is the part of the js that makes the request (URLLoader.js:88-93):

 if (contentData) {
    element.send(contentData);
  } else {
    element.send();
  }
  this.dispatchEvent(new org.apache.royale.events.Event("postSend"));

The "element" is type XMLHttpRequest and I can not debug that object.

Thanks,
Serkan



Reply via email to