PDA

View Full Version : Problem with CFC Webservices and Flash 8


ndcollins
12-04-2005, 12:15 AM
I am having troubles consuming my CFC Web Service in Flash 8. I am using the
WebServiceConnector component, pointed to my WS URL, and it sees it just
fine, loads the data into the WS viewer and shows me the functions, etc.

However, when I go to export it, I get the error "Error opening URL
"myWSurl"
I notice it's leaving off the "?wsdl" from the end there, but am not sure
why, or if that's even an issue. The "?wsdl" is in the URL I entered, so I'm
not sure why it isn't in the error message.

If I type in the direct URL for the Web Service, it displays the WSDL
information just fine.

I am using CFMX7. Anyone have any ideas what I may be doing wrong?

ndcollins
12-04-2005, 04:07 AM
Hey, I found the problem. I figured I'd post the solution if anyone else is having a similar problem. In order for Flash to read the data from a Coldfusion CFC Web Service, you have to go in on the Coldfusion server and map the folder that contains your CFCs.

tg
12-05-2005, 05:26 PM
flash should be able to read cfc wether they are mapped on the server or not... i do it all the time, my guess is you were getting a problem because of something in the component.... all of my are hand coded connections... but then i am in control of all my code... including the cfcs, i know this is not an option for most developers.