Bilbosax edited a comment on issue #1064:
URL: https://github.com/apache/royale-asjs/issues/1064#issuecomment-768648762


   @cristallium  SUCCESS!!!  But there is something somebody has got to explain 
to me.  I finally got it to work, but it was not for any reasons that I would 
have expected.  I copied your example to an empty project on my end, almost 
word for word except that I did not create a separate ServiceCaller class like 
you did, I just created a remoteobject, a responder, and a token inside of a 
single method that was activated by a button click, and the darn thing still 
failed.  I looked at your imported classes, every property 100 times over and I 
couldn't find a single thing different.  Finally, when I was about to pull my 
hair out, I looked at some of your .vscode JSON files, and after a few minutes, 
something stood out:
   
   ```
   "runtimeArgs": [
       "--disable-web-security"
    ],
   ```
   
   And then it clicked.  I think that the browser was somehow blocking the 
return of the data that I wanted for some reason.  Once I put in this single 
arguement, voila, it worked!  The question is why???  And what do I need to do 
when I deploy my final app so that web security is not a problem??


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to