built in cold fusion flash remoting gateway?

Is anyone using the built in flash remoting gateway that is included with CF MX?

I just noticed your post. I’m trying to get this to work according to the instructions at:
http://www.macromedia.com/support/flash_remoting/ts/documents/iis_gateway_connection.htm#enable

Thanks Yash, I appreciate your help on this matter.

[QUOTE=njtech4u]
Thanks Yash, I appreciate your help on this matter.
[/QUOTE]

Yash,
What the path i would use to test the gateway. I’m not to firmilar with the Jodo setup yet?

thanks
Mg

flashservices/gateway

[QUOTE=Yash]
flashservices/gateway
[/QUOTE]

With remoting in the background you can call java class files
which are located on the same directory i think.

I am getting “status: flashgateway.adapter.NoSuchServiceException: No service named HelloWorld is known to Flash Remoting MX.”

and

“status: flashgateway.adapter.NoSuchServiceException: No service named HelloWorldbean is known to Flash Remoting MX.”

dan did you try calling the a cfc file for remoting?

I’m sorry but I really don’t know what flash remoting is and how it works :frowning:

Is it working or is there something that isn’t enabled?

Yash:

First get the ebook
“OReilly,.Flash.Remoting.The.Definitive.Guide.chm” edonkey
Oreilly.Flash.Remoting.The.Definitive.Guide.500th.Release.eBook-LiB.chm

Publisher : O’Reilly
Pub Date : September 2003
ISBN : 0-596-00401-X
Pages : 624

That should solve a lot of problems.

Then start building test applications “Helloworld” in flash locally
to test out local connections. Then test apps on shared
directories.

remoting is not just for cfmx. You can use it with php and asp.net.

Here’s a quick explaination i found.

Flash MX calls the ColdFusion MX server, passing the component name to the server.(.cfc file)

Flash Remoting locates the component based on the path specified by Flash, and then calls the function within the component (also specified by Flash).

The component function returns a string.

The gateway receives the string, and passes it back to the Flash movie.

Flash receives the string from the server (through Flash Remoting), and passes it to the onResult() method for the object specified (in this case, the Result class).

The onResult method processes the data.

Yeah, so basically it’s to use Flash for things you shouldn’t be using Flash for? 8)

The only problem is finding the right connection string

gw=NetServices.createGatewayConnection("

http://localhost:8500/flashservices/gateway

");

Strings that don’t work so far

http://localhost:8500/flashservices/gateway nope
http://66.36.229.91:8500/flashservices/gateway nope
http://win2.jodoshared:8500/flashservices/gateway nope
http://win4.jodoshared:8500/flashservices/gateway nope

Yash what is the local string used to connect to the cf built-in server and what is the port address. Remoting only likes local addresses. If it sees that you are not on the same machine it will not work. Thanks

[QUOTE=danp5648]
The only problem is finding the right connection string

gw=NetServices.createGatewayConnection("

http://localhost:8500/flashservices/gateway

");

Strings that don’t work so far

http://localhost:8500/flashservices/gateway nope
http://66.36.229.91:8500/flashservices/gateway nope
http://win2.jodoshared:8500/flashservices/gateway nope
http://win4.jodoshared:8500/flashservices/gateway nope

Yash what is the local string used to connect to the cf built-in server and what is the port address. Remoting only likes local addresses. If it sees that you are not on the same machine it will not work. Thanks
[/QUOTE]

Hey dan,
If i’m correct that the ‘connection string’ that you would be using if you were using the default cf server and not IIS? hmm have you gave http://domainname/flashservices/gateway a try?

Mg

[QUOTE=njtech4u]
Hey dan,
If i’m correct that the ‘connection string’ that you would be using if you were using the default cf server and not IIS? hmm have you gave http://domainname/flashservices/gateway a try?

Mg
[/QUOTE]

That is right and the port address direct control to servers and so 8500 is CF’s default port address which is not working.

I guess he has to open a port which we can then use or find another way like using open source remoting.

you are not able to access the port, both of you?
I tested the gateway according to what that documentation said at Macromedia.com. It said if domain.com/flashservices/gateway returns a blank page, Flash remoting is properly installed

Also, flash remoting that is inbuilt with CF will only work for CF. For using it with another language, we’ll have to purchase the full product for all our servers…

[QUOTE=Yash]
you are not able to access the port, both of you?
I tested the gateway according to what that documentation said at Macromedia.com. It said if domain.com/flashservices/gateway returns a blank page, Flash remoting is properly installed

Also, flash remoting that is inbuilt with CF will only work for CF. For using it with another language, we’ll have to purchase the full product for all our servers…
[/QUOTE]

Though I’m not using any Flash I just tested the URL you listed and got a blank page, so I would assume everything is operating correctly.

[QUOTE=hatton]
Though I’m not using any Flash I just tested the URL you listed and got a blank page, so I would assume everything is operating correctly.
[/QUOTE]

The string
http://www.domain.com/flashservices/gateway
http://www.domain.com/flashservices/gateway/

Nope I just tested it and it did not work because the connection has to be a local one. Remoting will not connect to outside stuff (I wish it did). So to make the connection local you 

have to add a working port number. I will look at the open source
versions and see what they have to offer.

No a blank page does not mean its working. If you can return data
then it is working. I have remoting working locally, but when a
port it to the jodo server it stops working. The Example it uses has a port number which is 8500. Yash should just try to return some
data from CF to Flash.