Error: No Service is known to Flash Remoting MX.

flex

    Next

  • 1. Font Character Width How ?
    I have a text area and need to place a guide at a certain character offset but don't know how to calculate the pixel width that text will occupy. The text is not typed yet; I need to place the guide before any text is input. I use a fixed width font only (courier). Any suggestions ?
  • 2. Confirmation Box
    Is there anything like confirmation box in Flex as there is in HTML? Or do we have to create our own TitleWindow that asks for confirmation? Thanks in advance.

Error: No Service is known to Flash Remoting MX.

Postby charlespaz » Fri, 22 Jul 2005 09:06:10 GMT

I'm running an integrated install with ColdFusion 6.1 and Flex 1.5 as
 per
  http://www.**--****.com/ 

 The samples run fine EXCEPT for Remote-Objects. All calls give the
 same error: No service named ... is known to Flash Remoting MX. I've
 even created a few of my own java classes, tested them with ColdFusion
 using cfobject, and they work, so I know the issue lies with the
 integration.

 Playing around with ColdFusion 7 on a Windows machine, I found that
 with an integrated installation with CF7, Remote-Objects work! Yet Web
 Services don't.

 Macromedia support just told me follow the steps for a Flex 1.0
 integrated install
 ( http://www.**--****.com/ ),
 which is almost the same except it includes a few filters that don't
 exist with Flex 1.5 (SampleSecurityFilter) so would be pointless to
 follow.

 Help!




Re: Error: No Service is known to Flash Remoting MX.

Postby peterent » Sat, 23 Jul 2005 02:04:29 GMT

The problem is that the Flash Remoting gateway in ColdFusion is being trumped 
by the gateway in JRun (which is serving up Flex apps). That gateway does not 
know anything about the CFCs.

 The solution is to remove the flashgateway.ear from the Jrun.xml file in the 
CF server. Just comment the line that reads:
 <attribute name="file">{jrun.home}/lib/flashgateway.ear</attribute>

 This will make the Flash Remoting gateway in CF be the only one running.

 and you should be all set. Restart CF once you make the change.


Similar Threads:

1.Error: No Service is known to Flash Remoting MX.

Thanks for the tip, however, with a standalone server installation of 
ColdFusion, in the jrun.xml file, the only listing for <attribute name="file"> 
is {jrun.home}/..  and the text flashgateway.ear does not exist in any files 
that Windows or RHEL can find.

 There is, however, a flashgateway.jar file in {cf-root}/lib and 
{cf-root}wwwroot/WEB-INF/lib on both machines, but it is not referred to by 
name in any files within the {cf-root} folder.

2.Problem consuming ASP.NET web service in Flash 2004 MX using Web Service Class (WITHOUT Flash Remoting)



Return to flex

 

Who is online

Users browsing this forum: No registered users and 19 guest