Hi Alex,

Here it is :




And overrides here :



It does not look like it is xml.

>>There may be code needed to intercept server results and check the resultFormat and convert the String to XML.

Do you mean that it might be fixed in emulation classes ?

If yes, may be you may guide me to make the relevant changes.

Thanks,
Serkan

12.03.2019 05:21 tarihinde Alex Harui yazdı:

Hi Serkan,

Try to debug where the variable named “parameter” gets its value.  One thing to keep in mind is that Flash might automatically convert server results into XML, but the Royale code may not be doing that yet.  There may be code needed to intercept server results and check the resultFormat and convert the String to XML.

HTH,

-Alex

*From: *Serkan Taş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>, "users@royale.apache.org" <users@royale.apache.org>
*Date: *Monday, March 11, 2019 at 1:19 PM
*To: *"users@royale.apache.org" <users@royale.apache.org>
*Subject: *Re: Work on Emulation

Hi Alex,


After implementing event type filter, I passed the event cast error and for now, I am getting an error below line (4) in the second picture below:

cid:part1.1CB0254B.481D08F0@likyateknoloji.com

When I check ctype, it is : "application/xml"


cid:part2.B6CB2157.B77DE2B6@likyateknoloji.com

cid:part3.661763A6.8CBE4D1D@likyateknoloji.com

There has been discussion before https://github.com/apache/royale-asjs/pull/383#discussion_r249286044 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F383%23discussion_r249286044&data=02%7C01%7Caharui%40adobe.com%7Cb691fb7e0cbb4bb03cb208d6a65ed6a7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636879323607205693&sdata=5QLuYyBaMpBRgd%2F%2FHs982B4Bq1oyIe4wfeUPRJya5nk%3D&reserved=0> and I commented that it was working without casting.

The value on watch window :


parameters: "username=pinara"

And rising exception for today.

I am not sure what to do for now. It looks like the object is string but as I remember the flex version was also working.

I need your advice.

Thanks,
Serkan



Reply via email to