You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2018/05/09 17:26:55 UTC
1005 code error with AMF/RemoteObject while trying to access my java backend
Hi,
I'm trying to make a test connection between our Flex Backend Application
with AMF and a Royale test App. I have all set up and I'm finding a similar
problem that Doug777 found in an old Flexjs thread [1]
I'm getting
{ code: -1005, message: "Invalid response.", detail: "", data: null }
In that thread there's no solution to that problem, but seems Doug get it
working for what I see in new threads.
As Piotr suggest in that thread, I removed the amf.js inject html that is
no more needed, and all worked ok.
@Doug777 what was the problem with 1005 error code? and what did you do to
solve it?
If I can get this working, I can start our first POC with Apache Royale to
migrate our App, so this is crucial for us! Any help is welcome!
Thanks in advance!
Carlos
[1] http://apache-flex-users.2333346.n4.nabble.com/FlexJS-
RemoteObject-Error-with-ColdFusion-td16035.html
--
Carlos Rovira
http://about.me/carlosrovira
Re: 1005 code error with AMF/RemoteObject while trying to access my
java backend
Posted by Carlos Rovira <ca...@apache.org>.
Hi piotr,
I see this:
{ code: -1005, message: "Invalid response.", detail: "", data: null }
2018-05-10 0:50 GMT+02:00 Piotr Zarzycki <pi...@gmail.com>:
> Hi Carlos,
>
> What are you seeing in browser console?
>
> Piotr
>
> On Wed, May 9, 2018, 7:27 PM Carlos Rovira <ca...@apache.org>
> wrote:
>
> > Hi,
> >
> > I'm trying to make a test connection between our Flex Backend Application
> > with AMF and a Royale test App. I have all set up and I'm finding a
> similar
> > problem that Doug777 found in an old Flexjs thread [1]
> >
> > I'm getting
> >
> > { code: -1005, message: "Invalid response.", detail: "", data: null }
> >
> > In that thread there's no solution to that problem, but seems Doug get it
> > working for what I see in new threads.
> > As Piotr suggest in that thread, I removed the amf.js inject html that is
> > no more needed, and all worked ok.
> >
> > @Doug777 what was the problem with 1005 error code? and what did you do
> to
> > solve it?
> >
> > If I can get this working, I can start our first POC with Apache Royale
> to
> > migrate our App, so this is crucial for us! Any help is welcome!
> >
> > Thanks in advance!
> >
> > Carlos
> >
> >
> > [1] http://apache-flex-users.2333346.n4.nabble.com/FlexJS-
> > RemoteObject-Error-with-ColdFusion-td16035.html
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: 1005 code error with AMF/RemoteObject while trying to access my
java backend
Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Carlos,
What are you seeing in browser console?
Piotr
On Wed, May 9, 2018, 7:27 PM Carlos Rovira <ca...@apache.org> wrote:
> Hi,
>
> I'm trying to make a test connection between our Flex Backend Application
> with AMF and a Royale test App. I have all set up and I'm finding a similar
> problem that Doug777 found in an old Flexjs thread [1]
>
> I'm getting
>
> { code: -1005, message: "Invalid response.", detail: "", data: null }
>
> In that thread there's no solution to that problem, but seems Doug get it
> working for what I see in new threads.
> As Piotr suggest in that thread, I removed the amf.js inject html that is
> no more needed, and all worked ok.
>
> @Doug777 what was the problem with 1005 error code? and what did you do to
> solve it?
>
> If I can get this working, I can start our first POC with Apache Royale to
> migrate our App, so this is crucial for us! Any help is welcome!
>
> Thanks in advance!
>
> Carlos
>
>
> [1] http://apache-flex-users.2333346.n4.nabble.com/FlexJS-
> RemoteObject-Error-with-ColdFusion-td16035.html
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
Re: 1005 code error with AMF/RemoteObject while trying to access my
java backend
Posted by Doug Simmons <do...@gmail.com>.
Hi Carlos,
You have to add the ClassAliasBead. - e.g.
<js:beads>
<js:ClassAliasBead />
<js:RemoteObject id="roClient" ... />
</js:beads>
Doug
On 10/05/2018 01:26, Carlos Rovira wrote:
> Hi,
>
> I'm trying to make a test connection between our Flex Backend
> Application with AMF and a Royale test App. I have all set up and I'm
> finding a similar problem that Doug777 found in an old Flexjs thread [1]
>
> I'm getting
>
> { code: -1005, message: "Invalid response.", detail: "", data: null }
>
> In that thread there's no solution to that problem, but seems Doug get
> it working for what I see in new threads.
> As Piotr suggest in that thread, I removed the amf.js inject html that
> is no more needed, and all worked ok.
>
> @Doug777 what was the problem with 1005 error code? and what did you
> do to solve it?
>
> If I can get this working, I can start our first POC with Apache
> Royale to migrate our App, so this is crucial for us! Any help is welcome!
>
> Thanks in advance!
>
> Carlos
>
>
> [1]
> http://apache-flex-users.2333346.n4.nabble.com/FlexJS-RemoteObject-Error-with-ColdFusion-td16035.html
> <http://apache-flex-users.2333346.n4.nabble.com/FlexJS-RemoteObject-Error-with-ColdFusion-td16035.html>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>