Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2004



Tip: Looking for answers? Try searching our database.

enable flashgateway after running the updater?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WorkRequest - 13 Oct 2004 21:19 GMT
After I run the CF MX Updater, my Flash appplication is stopped working. Then I
found this instruction(below)  from the website to enable it.

Access from Macromedia Flash to web services using the Flash Gateway is
disabled by default in Updater 3. To enable access from Macromedia Flash to web
services add the following DISABLE_CFWS_ADAPTERS Servlet init-param entry to
the FlashGatewayServlet entry in the web.xml file that is contained in the
flashgateway.ear archive.
<init-param>
< param-name>DISABLE_CFWS_ADAPTERS</param-name>
< param-value>false</param-value>
< description>When set to true, this setting disables the ColdFusion
WebServices Adapters in the gateway.</description>
< /init-param>

Here is what the entry look like after I added it to the
C:\CFusionMX\wwwroot\WEB-INF\web.xml file:
<servlet>
       <servlet-name>FlashGateway</servlet-name>
       <servlet-class>flashgateway.controller.GatewayServlet</servlet-class>
       <display-name>Flash Gateway</display-name>
       <description>Allows flash to connect to CFML and CFC
templates.</description>
    <init-param>
        < param-name>DISABLE_CFWS_ADAPTERS</param-name>
        < param-value>false</param-value>
        < description>When set to true, this setting disables the ColdFusion
WebServices Adapters in the gateway.</description>
    < /init-param>
     </servlet>

But the Flash application is still not working.
Does anyone know why?

It mentions the flashgateway.ear file, but I coundn't find such a file that
contains a web.xml.

Thanks
Pete - 14 Oct 2004 19:04 GMT
I assume you were relying on the Flash Remoting gateway in CFMX to contact a
web service?

What version of ColdFusion MX are you using?
WorkRequest - 15 Oct 2004 21:27 GMT
My Flash application run, but it can't retrieve any data, it is using
webservice. This happen after we run the updater.

We were using CF MX.  For running the updater, We just upgrade it to 6.1 .

Thanks
WorkRequest - 18 Oct 2004 17:23 GMT
We are using Colfusion MX  version 6,1,0,83762

Do I need to restart the server after making the web.xml changes?

Thanks
WorkRequest - 18 Oct 2004 22:14 GMT
My problem is that the WSDL download failed for the following URLs.
It failed to download the webservice's WSDL file, provided that the URL is
valided, it worked before I run the updater 6.1.

When I try to browse the WSDL file. It gives me this:
Sorry, something seems to have gone wrong... here are the details:

Fault - [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException
: Could not resolve CFC datatype: /pink/cfc/LBTimecard.cfc][; nested exception
is:
    coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could
not resolve CFC datatype: /pink/cfc/LBTimecard.cfc][

Is anyone know what is wrong?

Thanks
Skemcin - 12 Nov 2004 15:44 GMT
Originally posted by: WorkRequest My problem is that the WSDL download failed
for the following URLs.<BR>It failed to download the webservice's WSDL file,
provided that the URL is valided, it worked before I run the updater
6.1.<BR><BR>When I try to browse the WSDL file. It gives me this:<BR>Sorry,
something seems to have gone wrong... here are the details:<BR><BR>Fault -
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could
not resolve CFC datatype: /pink/cfc/LBTimecard.cfc][; nested exception is:
<BR>    coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could
not resolve CFC datatype: /pink/cfc/LBTimecard.cfc][<BR><BR><BR><BR>Is anyone
know what is wrong?<BR><BR>Thanks   try putting the ?wsdl after the .cfc
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.