all groups > macromedia flash flash remoting > january 2004 >
You're in the

macromedia flash flash remoting

group:

Remoting Problems


Re: Remoting Problems P.R. Newman
1/28/2004 10:49:03 AM
macromedia flash flash remoting: [quoted text, click to view]

Have you tried invoking the CFC from a CFM page, using the same dot
notation?

A lot of people go through this on shared servers. The best solution is
usually to get your hosting provider to create a ColdFusion mapping for you.
For example, they'd create a mapping called "cp" that maps to
D:\CFusionMX\wwwroot\yoursite. From Flash Remoting, you'd use:

example1Service = gatewayConnnection.getService("cp.commotionproject.Flash",
this);

--
Paul
-------------------------
Team Macromedia Member for Central
http://www.macromedia.com/go/team/
Extending Knowledge, Daily
http://www.communitymx.com
-------------------------

Remoting Problems wade1
1/28/2004 2:18:22 PM
Hello I would image that my problem is very simple but I am very new with this
time of intergration. I cannot seem to make my test app run at all.

localy everything is fine and I get the proper response.


//I pass the gateway in the cfm by
gatewayUrl=http://#cgi.http_host#/flashservices/gateway

//and then in the .as I use
gatewayConnnection = NetServices.createGatewayConnection();
example1Service = gatewayConnnection.getService("commotionproject.Flash", this);
example1Service.TickerDataProvider();

localy everything runs great, however on the production server not the case
when I execute the flash file there I get back this error:
Service threw an exception during method invocation:
No servioe named commotionproject.Flash is known to Flash Remoting MX

all the file locations are identical, and so forth, with one difference
in production. The web root is located under another drive
not in the default C:\CFusionMX\WWWroot\.
otherwise the dev and production enviroments are identical.

http://www.commotionproject.com/flashservices/gateway
and
http://localhost:8500/flashservices/gateway

both give me blank pages, so I assume that the remoting services are ok.

WHAT AM I OVERLOOKING, suggestions PLEASE

for the time being the url to this problem is commotionproject.com/flashtest.cfm
so take a look at the error if you like.

AddThis Social Bookmark Button