Hi Alex,
I sent the details in previous mails. I understand that it is hard to catch the process with so much time delay. As it is so much time consuming process to prepare a simple sample, I rather prefer to send you the stack trace and may be the variable values as far as I have time. Thanks, Serkan Android için Outlook'u edinin Kimden: Alex Harui Gönderildi: 6 Şubat Çarşamba 00:42 Konu: Re: Work on Emulation Kime: users@royale.apache.org Serkan, We simply don’t have enough information to be helpful. No idea what line of code is causing the exception. No idea what the “text” is and how you verified that is the text that is causing the problem. We don’t have any call stacks that would help indicate the code flow leading up to this point so we have an idea why some text is being converted to XML. Royale is not 100% compatible with Flex. Probably will never be. There could certainly still be bugs in Royale’s HTTPService. Maybe resultFormat isn’t working in Royale? Maybe Royale sent something slightly different so the server responded differently? Maybe Flash eats that initial string but the browsers don’t. There are too many possibilities. You will have to narrow it down and/or provide a simple test case that reproduces the problem. Thanks, -Alex From: Serkan Taş <serkan....@likyateknoloji.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Tuesday, February 5, 2019 at 1:07 PM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Re: Work on Emulation 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 serkan....@likyateknoloji.com 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 <aha...@adobe.com>: Is contentData valid XML? From: Serkan Taş <serkan....@likyateknoloji.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Thursday, January 31, 2019 at 12:08 PM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Re: Work on Emulation Hi, After pressing login button I am getting the error below: [cid:part1.9142D64E.89437FAE@likyateknoloji.com] 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