built in cold fusion flash remoting gateway?

Yash said:
flashservices/gateway

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."
 
I'm sorry but I really don't know what flash remoting is and how it works :(

Is it working or is there something that isn't enabled?
 
Yash:

First get the ebook
"OReilly,.Flash.Remoting.The.Definitive.Guide.chm" edonkey
<a href="ed2k://|file|Oreilly.Flash.Remoting.The.Definitive.Guide.500th.Release.eBook-LiB.chm|2255000|a7e54c2d7c8f053eb62aaacccd0ec078|">Oreilly.Flash.Remoting.The.Definitive.Guide.500th.Release.eBook-LiB.chm</a>


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.
 
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
 
danp5648 said:
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


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
 
njtech4u said:
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

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...
 
Yash said:
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...
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.
 
hatton said:
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.

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.
 
Back
Top