all groups > flash data integration > january 2006 >
You're in the

flash data integration

group:

Unable to connect to web service on testing server



Unable to connect to web service on testing server swickes
1/12/2006 6:34:46 AM
flash data integration: While taking the MM tutorial, "Creating a Client-Server Guest book with MM
Flash and ColdFusion," I am instructed to test the service connection by
entering the WSDURL in the WebServiceConnector properties. Unfortunatetly, I
keep getting this error in an Output popup:

WSDL download failed for the following URLs:
http://localhost:8501/cfguestbook/GuestBook.cfc?wsdl

cfguestbook/GuestBook.cfc is a perfectly good component. My one suspicion is
that my use of port 8501 is causing a problem with sandbox security?? I am
using port 8501 for ColdFusion 7, because port 8500 is in use by ColdFusion MX.

Any wisdom will be appreciated!
-Steve
Re: Unable to connect to web service on testing server swickes
1/12/2006 6:43:28 PM
New clue, now a simpler question!

When I copy all the demo files to the wwwroot under my ColdFusion MX directory
(the built-in web server uses port 8500, I CAN connect to the web service from
Flash.

Now my question is simpler: How can I tell Flash that http://localhost:8501 is
an "okay" domain? Or shall I remove Flash and re-install, somehow referencing
8501 as the location of the Coldfusion Server?

Thanks,
Steve
Re: Unable to connect to web service on testing server swickes
1/12/2006 8:52:00 PM
Forgive me for replying to my own post, but I found the solution, and perhaps
this will help someone in the future.

Yes, 127.0.0.1:8500 and 127.0.0.1:8501 are considered different domains by
Flash. Follow the instructions here, and with the addition of a very simple
file to your server root, flash will connect to a web service in 8501 even
though the flash is being served from 8500.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213

Hope this saves someone the 24 hours it cost me!
AddThis Social Bookmark Button