Hi I am trying to set up remoting in an AIR app.
Does anyone know if I need to define a context-root in the compiler settings.
Can’t seem to find any articles about setting it up, only in flex.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
compiler setting looks like:
however, if you want AIR to work over http you have to setup it abit different than a webapp. dunno why, but when using a webapp its enough to setup the flex-server on blazeDS or whatver backend you use and than use something like
but when using AIR you HAVE to setup a destination and endpoint, otherwise it will fail to connect and you will end up with and error like
so, for AIR apps you have add the following
where hello again is the config’d java-class you’re calling.
hope that helped.