Are you running CFMX with Updater 3 installed?

chris



>-----Original Message-----
>From: Allan Clarke [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 16, 2003 8:56 AM
>To: CF-Talk
>Subject: Remoting - Access from Flash to web services - BabelFish
>
>I downloaded the Babelfish sample application source
>code from the macromedia website:
>http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_cf
>mx/
>
>Extracted the code in my CFMX wwwroot folder. Opened
>the file: Babelfish.fla in Flash MX, brought up the
>NetConnectionDebugger and exported the flash movie.
>For those of you who have downloaded this sample
>application, when I click on the 'Translate' button, I
>get the following error.
>
>DebugId: 0
>EventType: "Status"
>MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash And
>Remoting/cfmx_flashmx_webservice/babelfish.swf"
>Protocol: "http"
>Source: "Client"
>Time: 1055776690024
>Date (object #1)
>....."Mon Jun 16 16:18:10 GMT+0100 2003"
>Status (object #2)
>.....code: "SERVER.PROCESSING"
>.....description: "Service threw an exception during
>method invocation: No service named
>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
>is known to Flash Remoting MX."
>.....details:
>"flashgateway.adapter.NoSuchServiceException: No
>service named
>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
>is known to Flash Remoting MX.
>at
>flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
>at
>flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
>at
>flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
>at
>flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
>at
>flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
>at
>flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
>at
>flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
>at
>flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
>at flashgateway.Gateway.invoke(Gateway.java:194)
>at
>flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
>at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
>at
>jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
>at
>jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
>at
>jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
>at
>jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
>at
>jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java
>:348)
>at
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:45
>1)
>at
>jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:2
>94)
>at
>jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>"
>.....level: "error"
>.....type:
>"flashgateway.adapter.NoSuchServiceException"
>
>The gateway connection is : myService =
>gateway_conn.getService("http://www.xmethods.net/sd/2001/BabelFishService.w
>sdl";,
>this);
>
>Its not just this example, any exmaple that uses a
>wsdl to connect to webservice fails. I can however
>connect to a webservice if I use a cfc, for ex:
>googleService =
>gateway_conn.getService("google_search.googleService",
>this);
>
>I read this article on the macromedia site:
>http://www.macromedia.com/support/coldfusion/ts/documents/enable_flash_webs
>ervices.htm
>
>What is says is that by default access from Macromedia
>Flash to web services using the Flash Gateway is
>disabled by default in ColdFusion MX Updater 3. I did
>exactly what it said in there to enable access and now
>I get a different error: NetConnection.Call.BadVersion
>error.
>
>I don't understand why this is disabled in the first
>place. I have updater 3 installed and the webserver is
>IIS on win2k
>
>I would appreciate your help
>
>Regards,
>Allan
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to